Waldek Mastykarz dbd7d66ff6 Added sample project with API secured with AAD (#207)
Moved web part to a subdirectory
2017-05-19 16:40:43 +03:00

18 lines
572 B
C#

using System;
namespace pnp.api.contosoorders.Areas.HelpPage.ModelDescriptions
{
/// <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; }
}
}