public static StreamSnapshotManager Create(RegionSelectionDTO regionSelection, Monitor monitor = null) { _instance = new StreamSnapshotManager(regionSelection) { Monitor = monitor ?? MonitorDetector.GetPrimaryScreen() }; return(_instance); }
private StreamSnapshotManager(RegionSelectionDTO selection) { _regionSelection = selection; _width = selection.Width; _height = selection.Height; }