Example #1
0
		/// <exception cref="ArgumentNullException">
		/// <paramref name="nesting"/> is null.-or-
		/// <paramref name="startShape"/> is null.-or-
		/// <paramref name="endShape"/> is null.
		/// </exception>
		public Nesting(NestingRelationship nesting, Shape startShape, Shape endShape)
			: base(nesting, startShape, endShape)
		{
			this.nesting = nesting;
		}
		public NestingRelationship Clone(CompositeType parentType, TypeBase innerType)
		{
			NestingRelationship nesting = new NestingRelationship(parentType, innerType);
			nesting.CopyFrom(this);
			return nesting;
		}