Thing Class

Definition

Thing (entity type: "https://schema.org/Thing").

C#
public class Thing : Microsoft.Agents.Protocols.Primitives.Entity
Inheritance
Thing

Constructors

Thing()
Thing(String, String)

Initializes a new instance of Thing.

Properties

Name

The name of the thing.

Properties

Gets properties that are not otherwise defined by the Entity type but that might appear in the REST JSON object.

(Inherited from Entity)
Type

Type of this entity (RFC 3987 IRI).

(Inherited from Entity)

Methods

Equals(Entity)

Indicates whether the current object is equal to another object of the same type.

(Inherited from Entity)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Entity)
GetHashCode()

Hash function that generates a hash code for the current object.

(Inherited from Entity)

Extension Methods

GetAs<T>(Entity)

Retrieve internal payload.

SetAs<T>(Entity, T)

Set internal payload.

Applies to

Product Versions
Microsoft 365 Agents SDK .NET 1