예제 #1
0
        public void SetUp()
        {
            _color = new Domain.Colors.Color(255, 255, 255);

            _colorPalette = new ColorPaletteBuilder().WithColor(_color).Build();

            _viewModel = new ColorPaletteViewModel(_colorPalette);
        }
 public ColorLegendItemViewModel(Domain.Colors.Color color, string label)
 {
     _color = Color.FromRgb(color.Red, color.Green, color.Blue);
     _label = label;
 }