Table of Contents

Class LeaderElectionCandidate

Namespace
Azure.Iot.Operations.Services.LeaderElection
Assembly
Azure.Iot.Operations.Services.dll

A single candidate that may be a leader.

public class LeaderElectionCandidate : IEquatable<LeaderElectionCandidate>
Inheritance
LeaderElectionCandidate
Implements
Inherited Members

Properties

Bytes

public byte[] Bytes { get; }

Property Value

byte[]

Methods

Equals(LeaderElectionCandidate?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(LeaderElectionCandidate? other)

Parameters

other LeaderElectionCandidate

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetString()

public string GetString()

Returns

string

Operators

implicit operator LeaderElectionCandidate?(string?)

public static implicit operator LeaderElectionCandidate?(string? value)

Parameters

value string

Returns

LeaderElectionCandidate