public GridPartitioning() { _xPartitioning = new LinearPartitioning() { ParentObject = this }; _yPartitioning = new LinearPartitioning() { ParentObject = this }; _zPartitioning = new LinearPartitioning() { ParentObject = this }; }
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")); } if (null != _zPartitioning) { yield return(new Main.DocumentNodeAndName(_zPartitioning, () => _zPartitioning = null, "ZPartitioning")); } }
public GridPartitioning(GridPartitioning from) { _xPartitioning = new LinearPartitioning() { ParentObject = this }; _yPartitioning = new LinearPartitioning() { ParentObject = this }; _zPartitioning = new LinearPartitioning() { ParentObject = this }; CopyFrom(from); }
public GridPartitioning(GridPartitioning from) { _xPartitioning = new LinearPartitioning() { ParentObject = this }; _yPartitioning = new LinearPartitioning() { ParentObject = this }; _zPartitioning = new LinearPartitioning() { ParentObject = this }; CopyFrom(from); }
public GridPartitioning() { _xPartitioning = new LinearPartitioning() { ParentObject = this }; _yPartitioning = new LinearPartitioning() { ParentObject = this }; _zPartitioning = new LinearPartitioning() { ParentObject = this }; }
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"); if (null != _zPartitioning) yield return new Main.DocumentNodeAndName(_zPartitioning, () => _zPartitioning = null, "ZPartitioning"); }