Ejemplo n.º 1
0
 internal IconViewModel(IconModel iconModel, IExplorerTreeItemIconConfiguration iconConfiguration)
 {
     this.LargeImageSource  = iconModel.LargeImageSource;
     this.SmallImageSource  = iconModel.SmallImageSource;
     this.IconConfiguration = iconConfiguration;
     this.IconModel         = iconModel;
     this.InitActiveImageSource(iconConfiguration.ActiveIconState);
 }
Ejemplo n.º 2
0
 private IconViewModel CreateIconVM(IconModel iconModel, IExplorerTreeItemIconConfiguration iconConfiguration)
 {
     return(new IconViewModel(iconModel, iconConfiguration));
 }