Exemplo n.º 1
0
 internal DelegateUserNamePasswordValidator(UsernamePasswordValidator @delegate)
 {
     this._DELEGATE = @delegate;
 }
Exemplo n.º 2
0
 internal PasswordCredentials(UsernamePasswordValidator validator)
 {
     this.UserNameAuthentication.UserNamePasswordValidationMode  = UserNamePasswordValidationMode.Custom;
     this.UserNameAuthentication.CustomUserNamePasswordValidator = new DelegateUserNamePasswordValidator(validator);
 }