Example #1
0
        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);
        }
Example #2
0
 public MRUTemplateInfo2(MRUTemplateInfo2 mruTemplateInfo) : base(mruTemplateInfo)
 {
     this.IsPinned     = mruTemplateInfo.IsPinned;
     this.LastAccessed = mruTemplateInfo.LastAccessed;
 }