コード例 #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);