コード例 #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);
		}