Share via


JsonLoadObserverWrapper.OnAfterLoadToken<T> Method

Definition

Observer for Newtonsoft.Json.JsonConverter instances. Handles notifications around the object loading lifecycle, including the ability to intercept and provide alternate values to be considered by the converters.

public bool OnAfterLoadToken<T> (Microsoft.Bot.Builder.Dialogs.Debugging.SourceContext context, Microsoft.Bot.Builder.Dialogs.Debugging.SourceRange range, Newtonsoft.Json.Linq.JToken token, T obj, out T result) where T : class;
abstract member OnAfterLoadToken : Microsoft.Bot.Builder.Dialogs.Debugging.SourceContext * Microsoft.Bot.Builder.Dialogs.Debugging.SourceRange * Newtonsoft.Json.Linq.JToken * 'T * 'T -> bool (requires 'T : null)
override this.OnAfterLoadToken : Microsoft.Bot.Builder.Dialogs.Debugging.SourceContext * Microsoft.Bot.Builder.Dialogs.Debugging.SourceRange * Newtonsoft.Json.Linq.JToken * 'T * 'T -> bool (requires 'T : null)
Public Function OnAfterLoadToken(Of T As Class) (context As SourceContext, range As SourceRange, token As JToken, obj As T, ByRef result As T) As Boolean

Type Parameters

T

Parameters

context
SourceContext
range
SourceRange
token
Newtonsoft.Json.Linq.JToken
obj
T
result
T

Returns

Implements

Applies to