public TFactoryPaletteSelectorModel() { Swatches = new SwatchesProvider().Swatches; ProcessItemsSource = new ObservableCollection <TProcessInfo> (); ToggleBaseCommand = new TObservableCommand(new DelegateCommand <bool> (ApplyBaseCommandHandler)); ApplyPrimaryCommand = new TObservableCommand(new DelegateCommand <Swatch> (ApplyPrimaryCommandHandler)); ApplyAccentCommand = new TObservableCommand(new DelegateCommand <Swatch> (ApplyAccentCommandHandler)); }
TGadgetBase () { Id = Guid.Empty; Category = TCategory.None; GadgetInfo = string.Empty; GadgetName = string.Empty; Material = string.Empty; Description = string.Empty; ExternalLink = string.Empty; Enabled = false; Locked = false; Busy = false; IsChecked = false; SetImage (new Collection<byte> ()); Date = DateTime.Now; MaterialId = Guid.Empty; Reference = string.Empty; Value = string.Empty; ObservableCommand = new TObservableCommand (new DelegateCommand<object> (ObservableCommandHandler)); }