示例#1
0
 public GridPartitioning()
 {
     _xPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _yPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
 }
示例#2
0
 protected override IEnumerable <Main.DocumentNodeAndName> GetDocumentNodeChildrenWithName()
 {
     if (null != _xPartitioning)
     {
         yield return(new Main.DocumentNodeAndName(_xPartitioning, () => _xPartitioning = null, "XPartitioning"));
     }
     if (null != _yPartitioning)
     {
         yield return(new Main.DocumentNodeAndName(_yPartitioning, () => _yPartitioning = null, "YPartitioning"));
     }
 }
示例#3
0
 public GridPartitioning(GridPartitioning from)
 {
     _xPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     _yPartitioning = new LinearPartitioning()
     {
         ParentObject = this
     };
     CopyFrom(from);
 }