コード例 #1
0
        public void SetUp()
        {
            _frame1920x1080 = new Bitmap(Properties.Frames._1920x1080frame);

            _filterFactory = Substitute.For <IRgbFilterFactory>();
            _filterService = new ColorMatrixService();
        }
コード例 #2
0
 public RgbProvider(
     IRgbFilterFactory rgb,
     IColorMatrixService service,
     IColorMatrixFactory matrix,
     ICacheService <Bitmap> cache)
 {
     _rgb     = rgb;
     _matrix  = matrix;
     _service = service;
     _cache   = cache;
 }