From 7efd412cda00b369bc331c9bedd8db971d98fee7 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 18 Oct 2017 15:21:45 -0700 Subject: Incorporate refactoring of WixToolset.Core assemblies --- src/WixToolset.Extensibility/BindPath.cs | 52 -------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 src/WixToolset.Extensibility/BindPath.cs (limited to 'src/WixToolset.Extensibility/BindPath.cs') diff --git a/src/WixToolset.Extensibility/BindPath.cs b/src/WixToolset.Extensibility/BindPath.cs deleted file mode 100644 index 236ee4ec..00000000 --- a/src/WixToolset.Extensibility/BindPath.cs +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. - -namespace WixToolset.Extensibility -{ - using System; - - /// - /// Bind path representation. - /// - public class BindPath - { - /// - /// Creates an unnamed bind path. - /// - /// Path for the bind path. - public BindPath(string path) : this(String.Empty, path) - { - } - - /// - /// Creates a named bind path. - /// - /// Name of the bind path. - /// Path for the bind path. - public BindPath(string name, string path) - { - this.Name = name; - this.Path = path; - } - - /// - /// Parses a bind path from its string representation - /// - /// String representation of bind path that looks like: [name=]path - /// Parsed bind path. - public static BindPath Parse(string bindPath) - { - string[] namedPath = bindPath.Split(new char[] { '=' }, 2); - return (1 == namedPath.Length) ? new BindPath(namedPath[0]) : new BindPath(namedPath[0], namedPath[1]); - } - - /// - /// Name of the bind path or String.Empty if the path is unnamed. - /// - public string Name { get; set; } - - /// - /// Path for the bind path. - /// - public string Path { get; set; } - } -} -- cgit v1.2.3-55-g6feb