예제 #1
0
		public GridPartitioning()
		{
			_xPartitioning = new LinearPartitioning() { ParentObject = this };
			_yPartitioning = new LinearPartitioning() { ParentObject = this };
		}
예제 #2
0
		public GridPartitioning(GridPartitioning from)
		{
			_xPartitioning = new LinearPartitioning() { ParentObject = this };
			_yPartitioning = new LinearPartitioning() { ParentObject = this };
			CopyFrom(from);
		}
예제 #3
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");
		}