示例#1
0
 protected BaseDescription(MemberInfo m)
 {
     this.OutputCache = m.GetMyAttribute<OutputCacheAttribute>();
     this.SessionMode = m.GetMyAttribute<SessionModeAttribute>();
     this.Authorize = m.GetMyAttribute<AuthorizeAttribute>(true /* inherit */);
 }
示例#2
0
 protected BaseDescription(MemberInfo m)
 {
     this.OutputCache = m.GetMyAttribute <OutputCacheAttribute>();
     this.SessionMode = m.GetMyAttribute <SessionModeAttribute>();
     this.Authorize   = m.GetMyAttribute <AuthorizeAttribute>(true /* inherit */);
 }