Class ResponseResult<T>
Represents the result as a response to a RequestMessage sent as part of a ResponseMessage<T> by the server.
Implements
Inherited Members
Namespace: Gremlin.Net.Driver.Messages
Assembly: Gremlin.Net.dll
Syntax
public record ResponseResult<T> : IEquatable<ResponseResult<T>>
Type Parameters
Name | Description |
---|---|
T | The type of the Data. |
Constructors
ResponseResult(T?, Dictionary<string, object>?)
Initializes a new instance of the ResponseResult<T> record.
Declaration
public ResponseResult(T? data, Dictionary<string, object>? meta = null)
Parameters
Type | Name | Description |
---|---|---|
T | data | The data of this result. |
Dictionary<string, object> | meta | The (optional) meta data of this result. |
Properties
Data
Gets the data of this result.
Declaration
public T? Data { get; }
Property Value
Type | Description |
---|---|
T |
Meta
Gets meta data of this result.
Declaration
public Dictionary<string, object> Meta { get; }
Property Value
Type | Description |
---|---|
Dictionary<string, object> |