示例#1
0
 public LoginViewModel(
     IConnection connection,
     IOwnerHostScreen parentScreen,
     IMessageBus messageBus,
     IRoutableViewModelManager routableViewModelManager)
 {
     HostScreen  = parentScreen;
     _connection = connection;
     _messageBus = messageBus;
     _routableViewModelManager = routableViewModelManager;
     AuthorizationMetadata     = new AuthorizationMetadata();
 }
示例#2
0
 public SendData()
 {
     AuthorizationMetadata = new AuthorizationMetadata();
     Parameters            = new Dictionary <string, string>();
 }
示例#3
0
 public void Connecting(AuthorizationMetadata metadata)
 {
     Connecting(metadata.Login, metadata.Password, metadata.Database);
 }