77 lines
1.3 KiB
C#
77 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace DrawGraph
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class |
|
|
AttributeTargets.Constructor |
|
|
AttributeTargets.Field |
|
|
AttributeTargets.Method |
|
|
AttributeTargets.Property,
|
|
AllowMultiple = true)]
|
|
|
|
public class ClassAttributs : System.Attribute
|
|
{
|
|
private string message;
|
|
private string description;
|
|
private int length;
|
|
private string cName;
|
|
|
|
public ClassAttributs()
|
|
{
|
|
}
|
|
|
|
public string Message
|
|
{
|
|
get
|
|
{
|
|
return message;
|
|
}
|
|
set
|
|
{
|
|
message = value;
|
|
}
|
|
}
|
|
|
|
|
|
public string Description
|
|
{
|
|
get
|
|
{
|
|
return description;
|
|
}
|
|
set
|
|
{
|
|
description = value;
|
|
}
|
|
}
|
|
|
|
public int Length
|
|
{
|
|
get
|
|
{
|
|
return length;
|
|
}
|
|
set
|
|
{
|
|
length = value;
|
|
}
|
|
}
|
|
|
|
public string CName
|
|
{
|
|
get
|
|
{
|
|
return cName;
|
|
}
|
|
|
|
set
|
|
{
|
|
cName = value;
|
|
}
|
|
}
|
|
}
|
|
}
|