2017-01-06 10:02:36 -05:00
|
|
|
using System;
|
|
|
|
|
2017-04-02 04:11:35 -04:00
|
|
|
namespace securecall.Areas.HelpPage.ModelDescriptions
|
2017-01-06 10:02:36 -05:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Use this attribute to change the name of the <see cref="ModelDescription"/> generated for a type.
|
|
|
|
/// </summary>
|
|
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)]
|
|
|
|
public sealed class ModelNameAttribute : Attribute
|
|
|
|
{
|
|
|
|
public ModelNameAttribute(string name)
|
|
|
|
{
|
|
|
|
Name = name;
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Name { get; private set; }
|
|
|
|
}
|
|
|
|
}
|