Esempio n. 1
0
 public ClientStatusHub1(AuthorizeHelperV1 authorizeHelperV1,
                         CurrentHubClientsVM currentHubClientsVM)
 {
     _current = currentHubClientsVM;
     _clients = authorizeHelperV1;
     _clients.TargetHubName = ClientStatusHub.Name;
 }
        public MainVersionKeeperWindowVM(SignalrServerToggleVM signalRServerToggleVM,
                                         CurrentHubClientsVM currentHubClientsVM,
                                         SharedLogListVM commonLogListVM,
                                         VersionKeeperSettings versionKeeperSettings,
                                         ClonedCopyExeUpdater clonedCopyExeUpdater,
                                         AppUpdateNotifierVM appUpdateNotifierVM)
        {
            Config       = versionKeeperSettings;
            Clients      = currentHubClientsVM;
            CommonLogs   = commonLogListVM;
            Updater      = appUpdateNotifierVM;
            _cloneUpdatr = clonedCopyExeUpdater;

            ServerToggle = signalRServerToggleVM;
            ServerToggle.StartServerCmd.ExecuteIfItCan();

            TestSend1Cmd = R2Command.Async(TestSend1, null, "Request States");
            TestSend2Cmd = R2Command.Async(TestSend2, null, "Test Broadcast");
        }
Esempio n. 3
0
 public LoggerPipeline1(SharedLogListVM commonLogListVM,
                        CurrentHubClientsVM currentHubClientsVM)
 {
     _log     = commonLogListVM;
     _clients = currentHubClientsVM;
 }