EntityExtension.GetAs<T>(Entity) 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.
Retrieve internal payload.
public static T GetAs<T>(this Microsoft.Agents.Core.Models.Entity entity);
static member GetAs : Microsoft.Agents.Core.Models.Entity -> 'T
<Extension()>
Public Function GetAs(Of T) (entity As Entity) As T
Type Parameters
- T
T.
Parameters
- entity
- Entity
Returns
T as T.