示例#1
0
 /// <summary>
 /// Casts the element to the specified type through the specified flow.
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <typeparam name="TRet"></typeparam>
 /// <param name="this"></param>
 /// <param name="flow"></param>
 /// <returns></returns>
 public static TRet Flow <T, TRet>(this T @this, IFlow <T, TRet> flow) => flow.Execute(@this);