Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 2.47 KB

TextSerializationContext.Unmarshal_TIn,TOut_(Func_TIn,TOut_).md

File metadata and controls

34 lines (21 loc) · 2.47 KB

TextSerializationContext.Unmarshal<TIn,TOut>(Func<TIn,TOut>) Method

Adds a convertion between the type TIn and the type TOut during a deserialization operation.

public DefaultEcs.Serialization.TextSerializationContext Unmarshal<TIn,TOut>(System.Func<TIn,TOut> converter);

Type parameters

TIn

The type which need to be converted.

TOut

The resulting type of the conversion.

Parameters

converter System.Func<TIn,TOut>

The function used for the conversion.

Returns

TextSerializationContext
Returns itself.