コード例 #1
0
        public void AccumulateRobustHash(IRobustHash hash)
        {
            hash.Accumulate("SourceImageDownsamplerVerb(");
            DummyTerm dummyTerm = new DummyTerm();
            IFuture   future    = prototype.Curry(new ParamDict(new object[]
            {
                TermName.ImageBounds, dummyTerm, TermName.OutputSize, dummyTerm, TermName.UseDocumentTransparency,
                dummyTerm, TermName.ExactColors, dummyTerm
            }));

            future.AccumulateRobustHash(hash);
            hash.Accumulate(")");
        }
コード例 #2
0
		public void AccumulateRobustHash(IRobustHash hash)
		{
			hash.Accumulate("SourceImageDownsamplerVerb(");
			DummyTerm dummyTerm = new DummyTerm();
			IFuture future = this.prototype.Curry(new ParamDict(new object[]
			{
				TermName.ImageBounds,
				dummyTerm,
				TermName.OutputSize,
				dummyTerm,
				TermName.UseDocumentTransparency,
				dummyTerm,
				TermName.ExactColors,
				dummyTerm
			}));
			future.AccumulateRobustHash(hash);
			hash.Accumulate(")");
		}