tgstation-server 6.19.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
ITransformer{TInput,TOutput}.cs
Go to the documentation of this file.
1using System;
2using System.Linq.Expressions;
3
5
7{
13 public interface ITransformer<TInput, TOutput>
14 {
18 Expression<Func<TInput, TOutput>> Expression { get; }
19
23 Expression<Func<TInput, ProjectedPair<TInput, TOutput>>> ProjectedExpression { get; }
24
28 Func<TInput, TOutput> CompiledExpression { get; }
29 }
30}
Contains a transformation Expression for converting TInput s to TOutput s.
Expression< Func< TInput, TOutput > > Expression
Expression<TDelegate> form of the transformation.
Expression< Func< TInput, ProjectedPair< TInput, TOutput > > > ProjectedExpression
Expression<TDelegate> for mapping TInput into a ProjectedPair<TQueried, TResult>.
Func< TInput, TOutput > CompiledExpression
The compiled Expression.