Exemple #1
0
        public static ParameterDynamicValue <T> New <T, T1, T2, T3>(ParameterKey <T1> param1, ParameterKey <T2> param2, ParameterKey <T3> param3, ParameterUpdateDelegate3 <T1, T2, T3, T> update, bool autoCheckDependencies = true)

/*            where T : struct
 *          where T1 : struct
 *          where T2 : struct
 *          where T3 : struct
 */
        {
            return(new ParameterDynamicValue3 <T, T1, T2, T3, T, T1, T2, T3>(param1, param2, param3, update, autoCheckDependencies));
        }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ParameterDynamicValue{T,T1}"/> class.
 /// </summary>
 /// <param name="param1">The param1.</param>
 /// <param name="update">The update.</param>
 public ParameterDynamicValue3(ParameterKey <T1> param1, ParameterKey <T2> param2, ParameterKey <T3> param3, ParameterUpdateDelegate3 <TCast1, TCast2, TCast3, TCast> update, bool autoCheckDependencies)
 {
     AutoCheckDependencies = autoCheckDependencies;
     Dependencies          = new ParameterKey[] { param1, param2, param3, };
     Update = update;
 }