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

AddDependency() public method

/// or is null. ///
public AddDependency ( TypeBase first, TypeBase second ) : DependencyRelationship
first TypeBase
second TypeBase
return DependencyRelationship
        public DependencyRelationship AddDependency(TypeBase first, TypeBase second)
        {
            DependencyRelationship dependency = new DependencyRelationship(first, second);

            AddRelationship(dependency);
            return dependency;
        }