Exemple #1
0
 public Client(ClientData data,
               IClientDataSaver dataSaver,
               IClientCredentialDataFactory clientCredentialDataFactory,
               SettingsFactory settingsFactory)
 {
     _data      = data;
     _dataSaver = dataSaver;
     _clientCredentialDataFactory = clientCredentialDataFactory;
     _settingsFactory             = settingsFactory;
 }
Exemple #2
0
 public ClientFactory(IClientDataFactory dataFactory,
                      IClientDataSaver dataSaver,
                      SettingsFactory settingsFactory,
                      IClientCredentialDataSaver clientCredentialDataSaver,
                      IClientCredentialDataFactory clientCredentialDataFactory)
 {
     _dataFactory                 = dataFactory;
     _dataSaver                   = dataSaver;
     _settingsFactory             = settingsFactory;
     _clientCredentialDataSaver   = clientCredentialDataSaver;
     _clientCredentialDataFactory = clientCredentialDataFactory;
 }