Skip to main content

Class ServiceSelector

Namespace: Consul.Filtering
Assembly: Consul.dll

public sealed class ServiceSelector : Selector, IEncodable

Inheritance

objectSelectorServiceSelector

Implements

IEncodable

Inherited Members

Selector.Encode() , object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.ReferenceEquals(object, object) , object.ToString()

Properties

Id

public StringFieldSelector Id { get; }

Property Value

StringFieldSelector

Meta

public MetaSelector Meta { get; }

Property Value

MetaSelector

Tags

public TagsSelector Tags { get; }

Property Value

TagsSelector

Methods

Encode()

public override string Encode()

Returns

string

Operators

operator ==(ServiceSelector, string)

public static Filter operator ==(ServiceSelector selector, string value)

Parameters

selector ServiceSelector

value string

Returns

Filter

operator !=(ServiceSelector, string)

public static Filter operator !=(ServiceSelector selector, string value)

Parameters

selector ServiceSelector

value string

Returns

Filter