Exemplo n.º 1
0
		/// <summary>
		/// Initializes a new instance of <see cref="ImageSet"/>.
		/// </summary>
		public ImageSet(ImageSetDescriptor descriptor)
		{
			_displaySetCopies = new List<IDisplaySet>();

			_displaySets.ItemAdded += OnDisplaySetAdded;
			_displaySets.ItemChanging += OnDisplaySetChanging;
			_displaySets.ItemRemoved += OnDisplaySetRemoved;
			_displaySets.ItemChanged += OnDisplaySetChanged;

			Descriptor = descriptor;
		}
Exemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of <see cref="ImageSet"/>.
        /// </summary>
        public ImageSet(ImageSetDescriptor descriptor)
        {
            _displaySetCopies = new List <IDisplaySet>();

            _displaySets.ItemAdded    += OnDisplaySetAdded;
            _displaySets.ItemChanging += OnDisplaySetChanging;
            _displaySets.ItemRemoved  += OnDisplaySetRemoved;
            _displaySets.ItemChanged  += OnDisplaySetChanged;

            Descriptor = descriptor;
        }