/// <summary> /// The 'else' part of the conditional transformation. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="t"></param> /// <param name="otherwise"></param> /// <returns></returns> public static ITransformation <T> Else <T>(this IfElseTransformation <T> t, ITransformation <T> otherwise) => IfElseTransformation <T> .Else(t, otherwise);
internal static IfElseTransformation <T> Else(IfElseTransformation <T> provider, ITransformation <T> otherwise) => new IfElseTransformation <T>(provider.myRule, provider.myTransformation, otherwise);