Пример #1
0
 public Doc(IGuidSupply?guidSupply = null)
 {
     Items      = EmptyItemDict;
     Edits      = EmptyEditStack;
     Redos      = EmptyEditStack;
     GuidSupply = guidSupply ?? new GuidSupply();
 }
Пример #2
0
 public Doc NewID(out Guid id)
 {
     GuidSupply = GuidSupply.NewID(out id);
     return(this);
 }