From 3e1c5e3fa80a2498f7d6aac5c0f8ca9e3bd7c66c Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sun, 20 Aug 2017 14:22:07 -0700 Subject: Move to .NET Core 2.0 --- src/WixToolset.Extensibility/ComponentKeyPath.cs | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/WixToolset.Extensibility/ComponentKeyPath.cs (limited to 'src/WixToolset.Extensibility/ComponentKeyPath.cs') diff --git a/src/WixToolset.Extensibility/ComponentKeyPath.cs b/src/WixToolset.Extensibility/ComponentKeyPath.cs new file mode 100644 index 00000000..f00e8f74 --- /dev/null +++ b/src/WixToolset.Extensibility/ComponentKeyPath.cs @@ -0,0 +1,57 @@ +// 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; + + public enum ComponentKeyPathType + { + /// + /// Not a key path. + /// + None, + + /// + /// File resource as a key path. + /// + File, + + /// + /// Folder as a key path. + /// + Directory, + + /// + /// ODBC data source as a key path. + /// + OdbcDataSource, + + /// + /// A simple registry key acting as a key path. + /// + Registry, + + /// + /// A registry key that contains a formatted property acting as a key path. + /// + RegistryFormatted + } + + public class ComponentKeyPath + { + /// + /// Identifier of the resource to be a key path. + /// + public string Id { get; set; } + + /// + /// Indicates whether the key path was explicitly set for this resource. + /// + public bool Explicit { get; set; } + + /// + /// Type of resource to be the key path. + /// + public ComponentKeyPathType Type { get; set; } + } +} -- cgit v1.2.3-55-g6feb