Class ServerApiVersion
Represents a server API version.
public sealed class ServerApiVersion : IEquatable<ServerApiVersion>
- Inheritance
-
ServerApiVersion
- Implements
- Inherited Members
Properties
V1
Gets an instance of server API version 1.
public static ServerApiVersion V1 { get; }
Property Value
Methods
Equals(ServerApiVersion)
public bool Equals(ServerApiVersion other)
Parameters
other
ServerApiVersion
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(ServerApiVersion, ServerApiVersion)
Returns true if the two values are equal.
public static bool operator ==(ServerApiVersion lhs, ServerApiVersion rhs)
Parameters
lhs
ServerApiVersionThe left hand side.
rhs
ServerApiVersionThe right hand side
Returns
- bool
True if the two values are equal.
operator !=(ServerApiVersion, ServerApiVersion)
Returns true if the two values are not equal.
public static bool operator !=(ServerApiVersion lhs, ServerApiVersion rhs)
Parameters
lhs
ServerApiVersionThe left hand side.
rhs
ServerApiVersionThe right hand side
Returns
- bool
True if the two values are not equal.