public static Func <IRunTimeAnyRoot, RunTimeAnyRootEntry> ExternalMethodIntention(Func <IInterpetedAnyType, IInterpetedAnyType> value, IMethodType methodType) => root => { var item = new InterpetedExternalMethod(value, methodType, root); var res = new RunTimeAnyRootEntry(item, methodType); return(res); };
public static Func <IRunTimeAnyRoot, RunTimeAnyRootEntry> ExternalMethodIntention <TIn, TOut>(Func <TIn, TOut> value, IMethodType methodType) where TIn : IInterpetedAnyType where TOut : IInterpetedAnyType => root => { var item = new InterpetedExternalMethod <TIn, TOut>(value, methodType, root); var res = new RunTimeAnyRootEntry(item, methodType); return(res); };