示例#1
0
 //
 public static void Do(IColor first, IColor second)
 {
     var mixer = new ColorMixer();
     first.Mix(0,mixer);
     second.Mix(1,mixer);
     mixer.Do();
 }
示例#2
0
        //

        public static void Do(IColor first, IColor second)
        {
            var mixer = new ColorMixer();

            first.Mix(0, mixer);
            second.Mix(1, mixer);
            mixer.Do();
        }