21 lines
644 B
C#
Executable File
21 lines
644 B
C#
Executable File
using System;
|
|
|
|
namespace OmegaLeo.HelperLib.Shared.Attributes
|
|
{
|
|
[System.AttributeUsage(AttributeTargets.All, AllowMultiple = false)]
|
|
public class DocumentationAttribute : Attribute
|
|
{
|
|
public string Title;
|
|
public string Description;
|
|
public string[] Args;
|
|
public string CodeExample = string.Empty;
|
|
|
|
public DocumentationAttribute(string title, string description, string[] args = null, string codeExample = "")
|
|
{
|
|
Title = title;
|
|
Description = description;
|
|
Args = args ?? Array.Empty<string>();
|
|
CodeExample = codeExample;
|
|
}
|
|
}
|
|
} |