mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 21:24:58 +00:00
Moving SettingsProperty attribute to Settings library
This commit is contained in:
@@ -1,39 +0,0 @@
|
|||||||
using System;
|
|
||||||
using ICD.Common.Properties;
|
|
||||||
|
|
||||||
namespace ICD.Common.Attributes.Properties
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Provides information on a settings property.
|
|
||||||
/// </summary>
|
|
||||||
[PublicAPI]
|
|
||||||
public sealed class SettingsProperty : Attribute
|
|
||||||
{
|
|
||||||
public enum ePropertyType
|
|
||||||
{
|
|
||||||
[PublicAPI] Default,
|
|
||||||
[PublicAPI] Hidden,
|
|
||||||
[PublicAPI] PortId,
|
|
||||||
[PublicAPI] DeviceId,
|
|
||||||
[PublicAPI] Ipid,
|
|
||||||
[PublicAPI] Enum
|
|
||||||
}
|
|
||||||
|
|
||||||
private readonly ePropertyType m_PropertyType;
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Gets the property type.
|
|
||||||
/// </summary>
|
|
||||||
[PublicAPI]
|
|
||||||
public ePropertyType PropertyType { get { return m_PropertyType; } }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Constructor.
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="propertyType"></param>
|
|
||||||
public SettingsProperty(ePropertyType propertyType)
|
|
||||||
{
|
|
||||||
m_PropertyType = propertyType;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -71,7 +71,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Attributes\AbstractIcdAttribute.cs" />
|
<Compile Include="Attributes\AbstractIcdAttribute.cs" />
|
||||||
<Compile Include="Attributes\KrangPluginAttribute.cs" />
|
<Compile Include="Attributes\KrangPluginAttribute.cs" />
|
||||||
<Compile Include="Attributes\Properties\SettingsProperty.cs" />
|
|
||||||
<Compile Include="Attributes\Rpc\RpcAttribute.cs" />
|
<Compile Include="Attributes\Rpc\RpcAttribute.cs" />
|
||||||
<Compile Include="EventArguments\BoolEventArgs.cs" />
|
<Compile Include="EventArguments\BoolEventArgs.cs" />
|
||||||
<Compile Include="EventArguments\CharEventArgs.cs" />
|
<Compile Include="EventArguments\CharEventArgs.cs" />
|
||||||
|
|||||||
Reference in New Issue
Block a user