Exemplo n.º 1
0
 public MyAuthorizeAttribute(MyAuthorizeResultEnum resultEnum,string _rightName, int unit)
 {
     rightName = _rightName;
     unitscope = unit;
     resultType = resultEnum;
 }
Exemplo n.º 2
0
 public MyAuthorizeAttribute(string _rightName,int unit)
 {
     rightName = _rightName;
     unitscope = unit;
     resultType = MyAuthorizeResultEnum.ActionResultType;
 }
Exemplo n.º 3
0
 public MyAuthorizeAttribute(MyAuthorizeResultEnum resultEnum,string _rightName)
 {
     rightName = _rightName;
     resultType = resultEnum;
 }
Exemplo n.º 4
0
 public MyAuthorizeAttribute(string _rightName)
 {
     rightName = _rightName;
     resultType = MyAuthorizeResultEnum.ActionResultType;
 }