public ProjectTemplate(MRUTemplateInfo2 info, IVsTemplate vsTemplateOrNull) { _info = info; _vsTemplate = vsTemplateOrNull; this.Icon = vsTemplateOrNull?.MediumThumbnailImage; // ?? new BitmapImage(new Uri("/Nostalgia;Icons/NewFileCollection/NewFileCollection_16x.png", UriKind.Relative)); this.IsPinned = info.IsPinned; this.Command = new DelegateCommand(this.DoCreateProject); }
public MRUTemplateInfo2(MRUTemplateInfo2 mruTemplateInfo) : base(mruTemplateInfo) { this.IsPinned = mruTemplateInfo.IsPinned; this.LastAccessed = mruTemplateInfo.LastAccessed; }