public List( IManipulateComponent manipulator, IPartitionComponent partitioner) { if (manipulator == null) { throw new ArgumentNullException("manipulator"); } if (partitioner == null) { throw new ArgumentNullException("partitioner"); } _manipulator = manipulator; _partitioner = partitioner; }
public Collection( ICompareComponent compare, ICreationComponent creator, IDelegationComponent delegation, IFilterComponent filter, IMapReduceComponent mapReduce, IPartitionComponent partitioner, ISetComponent set, IZipComponent zip, IUnZipComponent unzip ) { if (compare == null) { throw new ArgumentNullException("compare"); } if (creator == null) { throw new ArgumentNullException("creator"); } if (delegation == null) { throw new ArgumentNullException("delegation"); } if (filter == null) { throw new ArgumentNullException("filter"); } if (mapReduce == null) { throw new ArgumentNullException("mapReduce"); } if (partitioner == null) { throw new ArgumentNullException("partitioner"); } if (set == null) { throw new ArgumentNullException("set"); } if (zip == null) { throw new ArgumentNullException("zip"); } if (unzip == null) { throw new ArgumentNullException("unzip"); } _compare = compare; _creator = creator; _delegation = delegation; _filter = filter; _mapReduce = mapReduce; _partitioner = partitioner; _set = set; _zip = zip; _unzip = unzip; }