Show / Hide Table of Contents

Struct Result<T>

Represents RPC response.

Inherited Members
ValueType.Equals(Object)
ValueType.GetHashCode()
ValueType.ToString()
Object.Equals(Object, Object)
Object.GetType()
Object.ReferenceEquals(Object, Object)
Namespace: DotNext.Net.Cluster.Consensus.Raft
Assembly: DotNext.Net.Cluster.dll
Syntax
public struct Result<T>
Type Parameters
Name Description
T

The type of RPC response.

Constructors

| Improve this Doc View Source

Result(Int64, T)

Initializes a new result.

Declaration
public Result(long term, T value)
Parameters
Type Name Description
Int64 term

The term provided by remote node.

T value

The value returned by remote node.

Fields

| Improve this Doc View Source

Term

Gets term of the remote member.

Declaration
public readonly long Term
Field Value
Type Description
Int64
| Improve this Doc View Source

Value

Gets RPC response.

Declaration
public readonly T Value
Field Value
Type Description
T

Extension Methods

Sequence.Skip<TEnumerator, T>(ref TEnumerator, Int32)
ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX