Class Response<T>
Response of a Command<T>
Inherited Members
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
public sealed class Response<T> : BaseResponse
Type Parameters
Name | Description |
---|---|
T | Type of the response |
Constructors
Response()
Default constructor for a response
Declaration
public Response()
Response(T)
Creates a new Response instance from the given result
Declaration
public Response(T result)
Parameters
Type | Name | Description |
---|---|---|
T | result | Response result |
Properties
Result
Result of the command
Declaration
public T Result { get; set; }
Property Value
Type | Description |
---|---|
T |