Skip to main content

Class WriteResult<T>

Namespace: Consul
Assembly: Consul.dll

The result of a Consul API write

public class WriteResult<T> : WriteResult

Type Parameters

T

Must be able to be deserialized from JSON. Some writes return nothing, in which case this should be an empty Object

Inheritance

objectConsulResultWriteResultWriteResult<T>

Inherited Members

ConsulResult.RequestTime , ConsulResult.StatusCode , object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Constructors

WriteResult()

public WriteResult()

WriteResult(WriteResult)

public WriteResult(WriteResult other)

Parameters

other WriteResult

WriteResult(WriteResult, T)

public WriteResult(WriteResult other, T value)

Parameters

other WriteResult

value T

Properties

Response

The result of the write

public T Response { get; set; }

Property Value

T