37 lines
712 B
C#
37 lines
712 B
C#
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; }
|
|
}
|
|
}
|
|
|
|
}
|