public UseCaseGeneralization(IUseCaseEntity first, IUseCaseEntity second) { this.first = first ?? throw new ArgumentNullException(nameof(first)); this.second = second ?? throw new ArgumentNullException(nameof(second)); Attach(); }
public UseCaseGeneralization AddGeneralization(IUseCaseEntity first, IUseCaseEntity second) { var generalization = new UseCaseGeneralization(first, second); AddRelationship(generalization); return(generalization); }
public UseCaseAssociation AddAssociation(IUseCaseEntity first, IUseCaseEntity second) { var assocationRelationship = new UseCaseAssociation(first, second); AddRelationship(assocationRelationship); return(assocationRelationship); }
public void AddGeneralization(IUseCaseEntity first, IUseCaseEntity second) { model.AddGeneralization(first, second); }
public void AddAssociation(IUseCaseEntity first, IUseCaseEntity second) { model.AddAssociation(first, second); }
public UseCaseAssociation(IUseCaseEntity first, IUseCaseEntity second) { this.first = first ?? throw new ArgumentNullException(nameof(first)); this.second = second ?? throw new ArgumentNullException(nameof(second)); }
public UseCaseGeneralization AddGeneralization(IUseCaseEntity first, IUseCaseEntity second) { return(model.AddGeneralization(first, second)); }
public UseCaseAssociation AddAssociation(IUseCaseEntity first, IUseCaseEntity second) { return(model.AddAssociation(first, second)); }