initialize
This commit is contained in:
36
interface/asm/dotnet/MesTools/ImsApi/ImsApiKey.cs
Normal file
36
interface/asm/dotnet/MesTools/ImsApi/ImsApiKey.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace com.itac.mes.imsapi
|
||||
{
|
||||
/// <summary>
|
||||
/// Attribut für das automatische Mapping von Werten in Strukturen nach String-Arrays und umgekehrt
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)]
|
||||
public class ImsApiKey : Attribute
|
||||
{
|
||||
/// <summary>
|
||||
/// String field.
|
||||
/// </summary>
|
||||
string key;
|
||||
|
||||
/// <summary>
|
||||
/// Attribute constructor.
|
||||
/// </summary>
|
||||
public ImsApiKey()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Get and set.
|
||||
/// </summary>
|
||||
public string Key
|
||||
{
|
||||
get { return this.key; }
|
||||
set { this.key = value; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user