public SignedContract(IEnumerable <IDependency> dependencies, IEnumerable <ISignableContract> subContracts) { _dependencyTree = new DependencyTree(); _subContracts = new List <ISignedContract>(); AddDependencies(dependencies); AddSubContracts(subContracts); }
public DependencyTree(DependencyTree other) { _dependencies = other._dependencies; _dependenciesById = other._dependenciesById; }
private SignedContract(SignedContract other) { _dependencyTree = new DependencyTree(other._dependencyTree); _subContracts = other._subContracts.ToList(); }