Method Reverse
Reverse<TInput, TOutput>(IMap<TInput, TOutput>)
Creates a Reverse Map that swap the calls of Forward and Reverse, meaning that now calling Forward will do the Reverse call and vice versa.
public static IMap<TOutput, TInput> Reverse<TInput, TOutput>(this IMap<TInput, TOutput> map)Parameters
- mapIMap<TInput, TOutput>
- Base map where you apply this call. 
Returns
- IMap<TOutput, TInput>
Type Parameters
- TInput
- The type of the Input. 
- TOutput
- The type of the Output. 
Reverse<TInput, TOutput>(IForwardMap<TInput, TOutput>)
Creates a Reverse Map based only on the InverseForwardMap. In other words only the Reverse is swapped, meaning that calling Reverse will do the Forward operation.
public static IReverseMap<TOutput, TInput> Reverse<TInput, TOutput>(this IForwardMap<TInput, TOutput> map)Parameters
- mapIForwardMap<TInput, TOutput>
- Base map where you apply this call. 
Returns
- IReverseMap<TOutput, TInput>
Type Parameters
- TInput
- The type of the Input. 
- TOutput
- The type of the Output. 
Reverse<TInput, TOutput>(IReverseMap<TInput, TOutput>)
Creates a Reverse Map based only on the InverseReverseMap. In other words only the Forward is swapped, meaning that calling Forward will do the Reverse operation.
public static IForwardMap<TOutput, TInput> Reverse<TInput, TOutput>(this IReverseMap<TInput, TOutput> map)Parameters
- mapIReverseMap<TInput, TOutput>
- Base map where you apply this call. 
Returns
- IForwardMap<TOutput, TInput>
Type Parameters
- TInput
- The type of the Input. 
- TOutput
- The type of the Output.