Exemplo n.º 1
0
 /// <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);
Exemplo n.º 2
0
 internal static IfElseTransformation <T> Else(IfElseTransformation <T> provider, ITransformation <T> otherwise) => new IfElseTransformation <T>(provider.myRule, provider.myTransformation, otherwise);