Exemplo n.º 1
0
		/// <exception cref="ArgumentNullException">
		/// <paramref name="relationship"/> is null.-or-
		/// <paramref name="startShape"/> is null.-or-
		/// <paramref name="endShape"/> is null.
		/// </exception>
		public CommentConnection(CommentRelationship relationship, Shape startShape, Shape endShape)
			: base(relationship, startShape, endShape)
		{
			this.relationship = relationship;
		}
		public CommentRelationship Clone(Comment comment, IEntity entity)
		{
			CommentRelationship relationship = new CommentRelationship(comment, entity);
			relationship.CopyFrom(this);
			return relationship;
		}