示例#1
0
		/// <summary>
		/// Mandatory constructor.
		/// </summary>
		public BasicImageOperation(GetOriginatorDelegate getOriginatorDelegate, ApplyDelegate applyDelegate)
		{
			Platform.CheckForNullReference(getOriginatorDelegate, "getOriginatorDelegate");
			Platform.CheckForNullReference(applyDelegate, "applyDelegate");

			_getOriginatorDelegate = getOriginatorDelegate;
			_applyDelegate = applyDelegate;
		}
示例#2
0
        /// <summary>
        /// Mandatory constructor.
        /// </summary>
        public BasicImageOperation(GetOriginatorDelegate getOriginatorDelegate, ApplyDelegate applyDelegate)
        {
            Platform.CheckForNullReference(getOriginatorDelegate, "getOriginatorDelegate");
            Platform.CheckForNullReference(applyDelegate, "applyDelegate");

            _getOriginatorDelegate = getOriginatorDelegate;
            _applyDelegate         = applyDelegate;
        }