Пример #1
0
        public SignedContract(IEnumerable <IDependency> dependencies, IEnumerable <ISignableContract> subContracts)
        {
            _dependencyTree = new DependencyTree();
            _subContracts   = new List <ISignedContract>();

            AddDependencies(dependencies);
            AddSubContracts(subContracts);
        }
Пример #2
0
 public DependencyTree(DependencyTree other)
 {
     _dependencies     = other._dependencies;
     _dependenciesById = other._dependenciesById;
 }
Пример #3
0
 private SignedContract(SignedContract other)
 {
     _dependencyTree = new DependencyTree(other._dependencyTree);
     _subContracts   = other._subContracts.ToList();
 }