IJsonLoadObserver.OnAfterLoadToken<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> (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)
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
Type of the concrete object that was built.
Parameters
- context
- SourceContext
Source scope.
- range
- SourceRange
Source Range.
- 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.