mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
Moving SettingsProperty attribute to Settings library
This commit is contained in:
parent
3f50b0292e
commit
57d0b481f1
2 changed files with 0 additions and 40 deletions
|
|
@ -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>
|
||||
<Compile Include="Attributes\AbstractIcdAttribute.cs" />
|
||||
<Compile Include="Attributes\KrangPluginAttribute.cs" />
|
||||
<Compile Include="Attributes\Properties\SettingsProperty.cs" />
|
||||
<Compile Include="Attributes\Rpc\RpcAttribute.cs" />
|
||||
<Compile Include="EventArguments\BoolEventArgs.cs" />
|
||||
<Compile Include="EventArguments\CharEventArgs.cs" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue