public FileWrapper(string path) // : base(path) { _file = new File(path); //Thumbnail = new WeakThumbnail(path); //Thumbnail.SourceUpdated += () => { PropChanged(nameof(Thumbnail)); }; Name = IoObject.GetName(path); }
public FileWrapper(string path, string msgText) // : base(path) { _file = new File(path); //Thumbnail = new WeakThumbnail(path); //Thumbnail.SourceUpdated += () => { PropChanged(nameof(Thumbnail)); }; Name = IoObject.GetName(path); Options.MessageOptions.MessageText = msgText; }