예제 #1
0
		public override void Apply(IEditPixelDataContext context)
		{
			if (!AppliesTo(context))
				return;

			foreach (var edit in Edits)
				edit.Apply(context);
		}
예제 #2
0
        public override void Apply(IEditPixelDataContext context)
        {
            if (!AppliesTo(context))
            {
                return;
            }

            foreach (var edit in Edits)
            {
                edit.Apply(context);
            }
        }
예제 #3
0
		public override void Apply(IEditPixelDataContext context)
		{
			if (context.Excluded || !AppliesTo(context))
				return;

			foreach (var edit in Edits)
			{
				edit.Apply(context);
				if (context.Excluded)
					return;
			}
		}
예제 #4
0
 public virtual bool AppliesTo(IEditPixelDataContext context)
 {
     return(Condition == null || Condition.IsMatch(context.DataSet));
 }
예제 #5
0
 /// <summary>
 /// Applies edits to pixel data.
 /// </summary>
 /// <remarks>It is expected that all input pixel data contains no embedded overlays,
 /// is right aligned, and is "normalized" such that it is properly represented (numerically)
 /// using the correct corresponding value type (e.g. byte, sbyte, ushort, short).</remarks>
 public abstract void Apply(IEditPixelDataContext context);
예제 #6
0
		/// <summary>
		/// Applies edits to pixel data.
		/// </summary>
		/// <remarks>It is expected that all input pixel data contains no embedded overlays, 
		/// is right aligned, and is "normalized" such that it is properly represented (numerically)
		/// using the correct corresponding value type (e.g. byte, sbyte, ushort, short).</remarks>
		public abstract void Apply(IEditPixelDataContext context);
예제 #7
0
		public virtual bool AppliesTo(IEditPixelDataContext context)
		{
			return Condition == null || Condition.IsMatch(context.DataSet);
		}