Patcher.Rules.Proxies.ProxyFeatureFactory.UpdateFromConditionCollectionProxy C# (CSharp) Method

UpdateFromConditionCollectionProxy() public static method

public static UpdateFromConditionCollectionProxy ( this target, IEffectCollection value ) : void
target this
value IEffectCollection
return void
        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();
        }

Same methods

ProxyFeatureFactory::UpdateFromConditionCollectionProxy ( this target, IConditionCollection value ) : void