PermissionAttribute.cs 303 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 namespace Yi.Framework.Rbac.Domain.Authorization { [AttributeUsage(AttributeTargets.Method)] public class PermissionAttribute : Attribute { internal string Code { get; set; } public PermissionAttribute(string code) { Code = code; } } }