private void SetAuthenticationMethod(IAuthenticationMethod authMethod) { if (authMethod == null) { throw new ArgumentNullException("authMethod"); } authMethod.Populate(this); _authenticationMethod = authMethod; Validate(); }
internal void SetAuthenticationMethod(IAuthenticationMethod authMethod) { if (authMethod == null) { throw new ArgumentNullException(nameof(authMethod)); } authMethod.Populate(this); this.authenticationMethod = authMethod; this.Validate(); }
void SetAuthenticationMethod(IAuthenticationMethod authMethod) { if (authMethod == null) { throw new ArgumentNullException("authMethod"); } authMethod.Populate(this); this.authenticationMethod = authMethod; this.Validate(); }