Exemplo n.º 1
0
 public ServicesViewModel()
 {
     _publishSettingsReader = Container.Get<IPublishSettingsReader>();
     _cloudServicesRepository = Container.Get<ICloudServicesRepository>();
     LoadSubscriptionCommand = new DelegateCommand(LoadSubscription, CanLoadSubscription);
     ClearSubscriptionCommand = new DelegateCommand(ClearSubscription, CanClearSubscription);
 }
Exemplo n.º 2
0
 public ServicesViewModel()
 {
     _publishSettingsReader   = Container.Get <IPublishSettingsReader>();
     _cloudServicesRepository = Container.Get <ICloudServicesRepository>();
     LoadSubscriptionCommand  = new DelegateCommand(LoadSubscription, CanLoadSubscription);
     ClearSubscriptionCommand = new DelegateCommand(ClearSubscription, CanClearSubscription);
 }
Exemplo n.º 3
0
 public MainWindow(
     IPublishSettingsReader publishSettingsReader,
     ICloudServicesRepository cloudServicesRepository)
 {
     _publishSettingsReader   = publishSettingsReader;
     _cloudServicesRepository = cloudServicesRepository;
     InitializeComponent();
 }
Exemplo n.º 4
0
 public MainWindow(
     IPublishSettingsReader publishSettingsReader,
     ICloudServicesRepository cloudServicesRepository)
 {
     _publishSettingsReader = publishSettingsReader;
     _cloudServicesRepository = cloudServicesRepository;
     InitializeComponent();
 }