You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
405 B

using System;
namespace Operation
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false)]
class SubMenuMapping : Attribute
{
public string name { get; set; }
public int order { get; set; }
public SubMenuMapping(string name, int order = 1)
{
this.name = name;
this.order = order;
}
}
}