コード例 #1
0
ファイル: Dependency.cs プロジェクト: BachelorEric/ModelFirst
		/// <exception cref="ArgumentNullException">
		/// <paramref name="dependency"/> is null.-or-
		/// <paramref name="startShape"/> is null.-or-
		/// <paramref name="endShape"/> is null.
		/// </exception>
		public Dependency(DependencyRelationship dependency, Shape startShape, Shape endShape)
			: base(dependency, startShape, endShape)
		{
			this.dependency = dependency;
		}
コード例 #2
0
		public DependencyRelationship Clone(TypeBase first, TypeBase second)
		{
			DependencyRelationship dependency = new DependencyRelationship(first, second);
			dependency.CopyFrom(this);
			return dependency;
		}