Share via


IConverterObserver.OnAfterLoadToken<T>(JToken, T, T) Method

Definition

Notifies IConverterObserver instances after type-loading a Newtonsoft.Json.Linq.JToken into the provided instance of T.

public bool OnAfterLoadToken<T> (Newtonsoft.Json.Linq.JToken token, T obj, out T result) where T : class;
abstract member OnAfterLoadToken : Newtonsoft.Json.Linq.JToken * 'T * 'T -> bool (requires 'T : null)
Public Function OnAfterLoadToken(Of T As Class) (token As JToken, obj As T, ByRef result As T) As Boolean

Type Parameters

T

Type of the concrete object that was built.

Parameters

token
Newtonsoft.Json.Linq.JToken

Token used to build the object.

obj
T

Object that was built using the token.

result
T

Output parameter for observer to provide its result to the converter.

Returns

True if the observer provides a result and False if not.

Applies to