public void Demonstrate() { NetworkManager nm = new NetworkManager(); IDownloader id = nm; id.Start(); IUploader ip = nm; ip.Start(); }
public void Start() { _subscription = _sessions.CompletedRecordings .OfType <LocalSessionRecordingResult>() #if DEBUG .Do(r => DumpSessionInfo(r)) #endif .Where(r => r.Recording.State == SessionState.Completed) .Where(r => r.Recording.RecorderConfigurations.ContainsKey("UXR")) .Subscribe(r => UploadSessionData(r.Recording, r.RootFolder)); _uploader.Start(); State = ControlServiceState.Running; }