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