예제 #1
0
파일: Trans.cs 프로젝트: sparxsystems/krino
 /// <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);
예제 #2
0
 internal static IfElseTransformation <T> Else(IfElseTransformation <T> provider, ITransformation <T> otherwise) => new IfElseTransformation <T>(provider.myRule, provider.myTransformation, otherwise);