Data |
Exception | Condition |
---|---|
ArgumentNullException | dataSpecObjects is null. |
ArgumentException | dataSpecObjects contains a null value, or is empty, or contains more than 120 items. |
Keys will be auto-generated, and duplicates will be filtered. (See the DataSpecs class remarks for an explanation of keys and the uniqueness of DataSpec objects.)
Although the immutable DataSpec objects contained within dataSpecObjects will be stored inside this DataSpecs object, the IEnumerable itself will neither be stored nor modified. So you can continue using dataSpecObjects without concern for side effects.