示例#1
0
 public Connections(CacheCredentials credentials, ICredentialsPersistence credentialsPersistence)
 {
     _storedCredentials      = credentials;
     _credentials            = credentials.Copy(); //copy the object so we don't affect the main copy
     _credentialsPersistence = credentialsPersistence;
     InitializeComponent();
 }
示例#2
0
 public CredentialsHelper()
 {
     _peristence = new JsonCacheCredentialsPersistence();
     Load();
 }