|
using System;
namespace NetMX.OpenMBean.Mapper
{
/// <summary>
/// Provides information about mapping of CLR type to <see cref="OpenType"/>.
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Enum, AllowMultiple = false)]
public sealed class OpenTypeAttribute : Attribute
{
private string _mappedName;
private string _resourceName;
/// <summary>
/// Name of <see cref="OpenType"/> this type is mapped to. Default is full name of CLR type.
/// </summary>
public string MappedName
{
get { return _mappedName; }
set { _mappedName = value; }
}
/// <summary>
/// Name of resource file containing textual description of mapped <see cref="OpenType"/> and its
/// features.
/// </summary>
public string ResourceName
{
get { return _resourceName; }
set { _resourceName = value; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.