Show / Hide Table of Contents

    Class FavouriteDeltaBroadcast

    Inheritance
    System.Object
    FavouriteDeltaBroadcast
    Implements
    Google.Protobuf.IMessage<FavouriteDeltaBroadcast>
    Google.Protobuf.IMessage
    System.IEquatable<FavouriteDeltaBroadcast>
    Google.Protobuf.IDeepCloneable<FavouriteDeltaBroadcast>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Catalyst.Protocol.Wire
    Assembly: Catalyst.Protocol.dll
    Syntax
    public sealed class FavouriteDeltaBroadcast : IMessage<FavouriteDeltaBroadcast>, IMessage, IEquatable<FavouriteDeltaBroadcast>, IDeepCloneable<FavouriteDeltaBroadcast>

    Constructors

    | Improve this Doc View Source

    FavouriteDeltaBroadcast()

    Declaration
    public FavouriteDeltaBroadcast()
    | Improve this Doc View Source

    FavouriteDeltaBroadcast(FavouriteDeltaBroadcast)

    Declaration
    public FavouriteDeltaBroadcast(FavouriteDeltaBroadcast other)
    Parameters
    Type Name Description
    FavouriteDeltaBroadcast other

    Fields

    | Improve this Doc View Source

    CandidateFieldNumber

    Field number for the "candidate" field.

    Declaration
    public const int CandidateFieldNumber = 1
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    VoterIdFieldNumber

    Field number for the "voter_id" field.

    Declaration
    public const int VoterIdFieldNumber = 2
    Field Value
    Type Description
    System.Int32

    Properties

    | Improve this Doc View Source

    Candidate

    The candidate favoured by the voter broadcasting this message.

    Declaration
    public CandidateDeltaBroadcast Candidate { get; set; }
    Property Value
    Type Description
    CandidateDeltaBroadcast
    | Improve this Doc View Source

    Descriptor

    Declaration
    public static MessageDescriptor Descriptor { get; }
    Property Value
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor
    | Improve this Doc View Source

    Parser

    Declaration
    public static MessageParser<FavouriteDeltaBroadcast> Parser { get; }
    Property Value
    Type Description
    Google.Protobuf.MessageParser<FavouriteDeltaBroadcast>
    | Improve this Doc View Source

    VoterId

    The PeerId of the participant submitting its vote to the network.

    Declaration
    public PeerId VoterId { get; set; }
    Property Value
    Type Description
    PeerId

    Methods

    | Improve this Doc View Source

    CalculateSize()

    Declaration
    public int CalculateSize()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Clone()

    Declaration
    public FavouriteDeltaBroadcast Clone()
    Returns
    Type Description
    FavouriteDeltaBroadcast
    | Improve this Doc View Source

    Equals(FavouriteDeltaBroadcast)

    Declaration
    public bool Equals(FavouriteDeltaBroadcast other)
    Parameters
    Type Name Description
    FavouriteDeltaBroadcast other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    System.Object other
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    MergeFrom(FavouriteDeltaBroadcast)

    Declaration
    public void MergeFrom(FavouriteDeltaBroadcast other)
    Parameters
    Type Name Description
    FavouriteDeltaBroadcast other
    | Improve this Doc View Source

    MergeFrom(CodedInputStream)

    Declaration
    public void MergeFrom(CodedInputStream input)
    Parameters
    Type Name Description
    Google.Protobuf.CodedInputStream input
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    | Improve this Doc View Source

    WriteTo(CodedOutputStream)

    Declaration
    public void WriteTo(CodedOutputStream output)
    Parameters
    Type Name Description
    Google.Protobuf.CodedOutputStream output

    Explicit Interface Implementations

    | Improve this Doc View Source

    IMessage.Descriptor

    Declaration
    MessageDescriptor IMessage.Descriptor { get; }
    Returns
    Type Description
    Google.Protobuf.Reflection.MessageDescriptor

    Implements

    Google.Protobuf.IMessage<T>
    Google.Protobuf.IMessage
    System.IEquatable<T>
    Google.Protobuf.IDeepCloneable<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Catalyst Network