public OfficePartViewModel(OfficePart part, OfficeDocumentViewModel parent) : base(parent, false, contents: part.ReadContent()) { this.part = part; this.originalContents = this.Contents; this.LoadIcons(); }
public OfficePartViewModel(OfficePart part, OfficeDocumentViewModel parent) : base(parent, false, contents: part.ReadContent()) { _part = part; OriginalContents = Contents ?? string.Empty; LoadIcons(); }