Example #1
0
 public VoxelViewModel(ILogger Logger, DocumentViewModel Document) : base(Logger)
 {
     colorCache = new Cache <ColorViewModel>(() => { return(Document.Palette.Colors.FirstOrDefault(item => item.ID == ColorID)); }, this, "ColorID");
 }
Example #2
0
 public VoxelViewModelCollection(ILogger Logger, DocumentViewModel Document) : base(Logger)
 {
     this.document           = Document;
     this.CollectionChanged += VoxelViewModelCollection_CollectionChanged;
 }