Class Tag
Represents a replica set member tag.
public sealed class Tag : IEquatable<Tag>
- Inheritance
-
Tag
- Implements
- Inherited Members
Constructors
Tag(string, string)
Initializes a new instance of the Tag class.
public Tag(string name, string value)
Parameters
Properties
Name
Gets the name.
public string Name { get; }
Property Value
- string
The name.
Value
Gets the value.
public string Value { get; }
Property Value
- string
The value.
Methods
Equals(Tag)
public bool Equals(Tag other)
Parameters
other
Tag
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()