public static void UpdateFromConditionCollectionProxy(this IFeaturingEffects target, IEffectCollection value) { if (value == null) throw new ArgumentNullException("value", "Cannot assign a NULL to a collection."); target.Effects = ((EffectCollectionProxy)value).CopyFieldCollection(); }
public static void UpdateFromConditionCollectionProxy(this IFeaturingEffects target, IEffectCollection value) { if (value == null) { throw new ArgumentNullException("value", "Cannot assign a NULL to a collection."); } target.Effects = ((EffectCollectionProxy)value).CopyFieldCollection(); }