protected AuthorizationDemandAttribute(bool trueDemandAny_falseDemandAll, string[] demandedClaims) { if(demandedClaims.IsNullOrEmpty()) throw new ArgumentNullException("demandedClaims collection cannot be empty."); this.DemandAny = trueDemandAny_falseDemandAll; this.DemandedClaims = demandedClaims; }