Table of Contents

Method AddForward

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

AddForward<TInput, TOutput>(IReverseMap<TInput, TOutput>, IForwardMap<TInput, TOutput>)

Creates a Combined Map. This map use the forward map to call the Forward method and the base map to call the Reverse Map.

public static IMap<TInput, TOutput> AddForward<TInput, TOutput>(this IReverseMap<TInput, TOutput> map, IForwardMap<TInput, TOutput> forward)

Parameters

map IReverseMap<TInput, TOutput>

Base map where you apply this call.

forward IForwardMap<TInput, TOutput>

Forward map to combined with the base map.

Returns

IMap<TInput, TOutput>

Type Parameters

TInput

Type of the Input.

TOutput

Type of the Output.