Skip to main content

Class ServiceKind

Namespace: Consul
Assembly: Consul.dll

ServiceKind specifies the type of service.

[TypeConverter(typeof(ServiceKindTypeConverter))]
public class ServiceKind : IEquatable<ServiceKind>

Inheritance​

object ← ServiceKind

Implements​

IEquatable<ServiceKind>

Inherited Members​

object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()

Properties​

ConnectProxy​

public static ServiceKind ConnectProxy { get; }

Property Value​

ServiceKind

IngressGateway​

public static ServiceKind IngressGateway { get; }

Property Value​

ServiceKind

MeshGateway​

public static ServiceKind MeshGateway { get; }

Property Value​

ServiceKind

TerminatingGateway​

public static ServiceKind TerminatingGateway { get; }

Property Value​

ServiceKind

Methods​

Equals(object)​

public override bool Equals(object obj)

Parameters​

obj object

Returns​

bool

Equals(ServiceKind)​

public bool Equals(ServiceKind other)

Parameters​

other ServiceKind

Returns​

bool

GetHashCode()​

public override int GetHashCode()

Returns​

int

ToString()​

public override string ToString()

Returns​

string

TryParse(string, out ServiceKind)​

public static bool TryParse(string value, out ServiceKind result)

Parameters​

value string

result ServiceKind

Returns​

bool

  • Properties
    • ConnectProxy
    • IngressGateway
    • MeshGateway
    • TerminatingGateway
  • Methods
    • Equals(object)
    • Equals(ServiceKind)
    • GetHashCode()
    • ToString()
    • TryParse(string, out ServiceKind)