protected MprSliceSet(Volumes.Volume volume) { Platform.CheckForNullReference(volume, "volume"); _volume = volume.CreateReference(); _sliceSops = new ObservableDisposableList <MprSliceSop>(); _sliceSops.EnableEvents = true; _sliceSops.ItemAdded += OnItemAdded; _sliceSops.ItemChanged += OnItemChanged; _sliceSops.ItemChanging += OnItemChanging; _sliceSops.ItemRemoved += OnItemRemoved; }
public VolumeSlicer(Volumes.Volume volume, IVolumeSlicerParams slicerParams) { _volume = volume.CreateReference(); _slicerParams = slicerParams; }