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