public static T Iff <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T>(OFunc <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T> enabledFunction, OFunc <T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T> disabledFunction, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10, T11 arg11, out T12 arg12) { if (Flag.Enabled) { return(enabledFunction(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, out arg12)); } return(disabledFunction(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, out arg12)); }
public static T Iff <T1, T2, T3, T4, T5, T6, T7, T>(OFunc <T1, T2, T3, T4, T5, T6, T7, T> enabledFunction, OFunc <T1, T2, T3, T4, T5, T6, T7, T> disabledFunction, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, out T7 arg7) { if (Flag.Enabled) { return(enabledFunction(arg1, arg2, arg3, arg4, arg5, arg6, out arg7)); } return(disabledFunction(arg1, arg2, arg3, arg4, arg5, arg6, out arg7)); }
public static T Iff <T1, T2, T>(OFunc <T1, T2, T> enabledFunction, OFunc <T1, T2, T> disabledFunction, T1 arg1, out T2 arg2) { if (Flag.Enabled) { return(enabledFunction(arg1, out arg2)); } return(disabledFunction(arg1, out arg2)); }
public static T Iff <T1, T2, T3, T4, T>(OFunc <T1, T2, T3, T4, T> enabledFunction, OFunc <T1, T2, T3, T4, T> disabledFunction, T1 arg1, T2 arg2, T3 arg3, out T4 arg4) { if (Flag.Enabled) { return(enabledFunction(arg1, arg2, arg3, out arg4)); } return(disabledFunction(arg1, arg2, arg3, out arg4)); }
public static T Iff <T1, T>(OFunc <T1, T> enabledFunction, OFunc <T1, T> disabledFunction, out T1 arg1) { if (Flag.Enabled) { return(enabledFunction(out arg1)); } return(disabledFunction(out arg1)); }