private void Pause(LiveAndRecordingOperateEventSourceType type) { Start(type); if (type == LiveAndRecordingOperateEventSourceType.Live) { IsLiveRunning = false; } else { IsRecordRunning = false; } }
private void Start(LiveAndRecordingOperateEventSourceType type) { if (type == LiveAndRecordingOperateEventSourceType.Live) { IsLiving = true; IsLiveRunning = true; } else { IsRecording = true; IsRecordRunning = true; } }
public LiveAndRecordingOperateEventContext(LiveAndRecordingOperateEventSourceType eventSourceType, LiveAndRecordingOperateEventType eventType) { EventSource = eventSourceType; EventType = eventType; }