API reference
Method TryGetDataProperty
- Namespace
- DisCatSharp.Hosting.AspNetCore.Ingress.WebhookEvents
- Assembly
- DisCatSharp.Hosting.AspNetCore.dll
TryGetDataProperty(string, out JsonElement)
Attempts to resolve a property from the nested event data object.
public bool TryGetDataProperty(string name, out JsonElement value)
Parameters
namestringThe property name to resolve.
valueJsonElementThe resolved JSON value.