Ejemplo n.º 1
0
        public DataExtensionDependencies(DataExtensionDependencies other)
        {
            Guard.NotNull(other, nameof(other));

            this.requiredSourceDataCookerPaths    = new HashSet <DataCookerPath>(other.requiredSourceDataCookerPaths);
            this.requiredCompositeDataCookerPaths = new HashSet <DataCookerPath>(other.requiredCompositeDataCookerPaths);
            this.requiredDataProcessorIds         = new HashSet <DataProcessorId>(other.requiredDataProcessorIds);
        }
        public DataExtensionDependencyState(IDataExtensionDependencyTarget dataDependencyTarget)
        {
            Guard.NotNull(dataDependencyTarget, nameof(dataDependencyTarget));

            this.errors = new List <string>();
            this.Errors = new ReadOnlyCollection <string>(this.errors);

            this.missingDataCookers = new HashSet <DataCookerPath>();

            this.missingDataProcessors = new HashSet <DataProcessorId>();

            this.target = dataDependencyTarget;

            this.dependencyReferences = new DataExtensionDependencies();
        }
        public DataExtensionDependencyState(DataExtensionDependencyState other)
        {
            Guard.NotNull(other, nameof(other));

            this.target = other.target;

            this.errors = new List <string>(other.errors);
            this.Errors = new ReadOnlyCollection <string>(this.errors);

            this.missingDataCookers    = new HashSet <DataCookerPath>(other.missingDataCookers);
            this.missingDataProcessors = new HashSet <DataProcessorId>(other.missingDataProcessors);

            this.Availability = other.Availability;

            this.dependencyReferences = new DataExtensionDependencies(other.dependencyReferences);
        }