NClass.Core.Models.ClassModel.AddRelationship C# (CSharp) Method

AddRelationship() private method

private AddRelationship ( Relationship relationship ) : void
relationship Relationship
return void
        private void AddRelationship(Relationship relationship)
        {
            relationships.Add(relationship);
            relationship.Modified += ElementChanged;
            OnRelationAdded(new RelationshipEventArgs(relationship));
        }