Table of Contents

Class Response<T>

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Response of a Command<T>

public sealed class Response<T> : BaseResponse

Type Parameters

T

Type of the response

Inheritance
Response<T>
Inherited Members

Constructors

Response()

Default constructor for a response

public Response()

Response(T)

Creates a new Response instance from the given result

public Response(T result)

Parameters

result T

Response result

Properties

Result

Result of the command

public T Result { get; set; }

Property Value

T