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
LeaderElectionCandidateAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? other)
Parameters
other
object
Returns
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
Operators
implicit operator LeaderElectionCandidate?(string?)
public static implicit operator LeaderElectionCandidate?(string? value)
Parameters
value
string