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(); }
public CredentialsHelper() { _peristence = new JsonCacheCredentialsPersistence(); Load(); }