Пример #1
0
 /// <summary>
 /// Initializes a new instance of the AuthenticationViewModel class.
 /// </summary>
 public AuthenticationViewModel(AccountCredentialInfo credential)
 {
     if (credential == null)
         throw new ArgumentNullException("credential");
     // クレデンシャル情報をクローニングする
     this.Credential = credential.Clone();
     // トークン・シークレットを削除
     this.Credential.Token = null;
     this.Credential.Secret = null;
 }