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