I have these two interfaces
我有这两个接口
/// <summary>
/// Represents an interface that knows how one type can be transformed into another type.
/// </summary>
/// <typeparam name="TInput"></typeparam>
/// <typeparam name="TOutput"></typeparam>
public interface ITransformer<in TInput,out TOutput>
{
TOutput Transform(TInput input);
}
public interface ITransform
{
TOutput Transform<TInput,TOutput>(ITransformer<TInput, TOutput> transformer);
}
///