コード例 #1
0
        private void AddIncludes(IncludesRelationship includesRelationship)
        {
            Shape startShape = GetShape(includesRelationship.First);
            Shape endShape   = GetShape(includesRelationship.Second);

            AddConnection(new IncludesConnection(includesRelationship, startShape, endShape));
        }
コード例 #2
0
ファイル: UseCaseModel.cs プロジェクト: xtjatswc/NClass
        public IncludesRelationship AddIncludes(UseCase first, UseCase second)
        {
            var includesRelationship = new IncludesRelationship(first, second);

            AddRelationship(includesRelationship);
            return(includesRelationship);
        }
コード例 #3
0
 public bool InsertIncludes(IncludesRelationship includesRelationship)
 {
     return(model.InsertRelationship(includesRelationship));
 }
コード例 #4
0
 public IncludesConnection(IncludesRelationship relationship, Shape firstShape, Shape secondShape)
     : base(relationship, firstShape, secondShape)
 {
     this.includesRelationship = relationship;
 }