IConverterObserver.OnAfterLoadToken<T>(JToken, T, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.