// // Private implementation // internal protected AuthenticablePrincipal(PrincipalContext context) { if (context == null) { throw new ArgumentException(SR.NullArguments); } this.ContextRaw = context; this.unpersisted = true; this.rosf = new AdvancedFilters(this); }
protected internal AuthenticablePrincipal(PrincipalContext context) { this.certificates = new X509Certificate2Collection(); this.certificateOriginalThumbprints = new List <string>(); if (context != null) { base.ContextRaw = context; this.unpersisted = true; this.rosf = new AdvancedFilters(this); return; } else { throw new ArgumentException(StringResources.NullArguments); } }