Skip to main content

Class StringFieldSelector

Namespace: Consul.Filtering
Assembly: Consul.dll

public sealed class StringFieldSelector : Selector, IEncodable

Inheritance

objectSelectorStringFieldSelector

Implements

IEncodable

Inherited Members

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

Constructors

StringFieldSelector(string)

public StringFieldSelector(string name)

Parameters

name string

StringFieldSelector(string, string)

public StringFieldSelector(string prefix, string name)

Parameters

prefix string

name string

Properties

Name

public string Name { get; }

Property Value

string

Prefix

public string Prefix { get; }

Property Value

string

Methods

Contains(string)

public Filter Contains(string value)

Parameters

value string

Returns

Filter

Encode()

public override string Encode()

Returns

string

IsEmpty()

public Filter IsEmpty()

Returns

Filter

Operators

operator ==(StringFieldSelector, string)

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

Parameters

selector StringFieldSelector

value string

Returns

Filter

operator !=(StringFieldSelector, string)

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

Parameters

selector StringFieldSelector

value string

Returns

Filter

  • Constructors
    • StringFieldSelector(string)
    • StringFieldSelector(string, string)
  • Properties
    • Name
    • Prefix
  • Methods
    • Contains(string)
    • Encode()
    • IsEmpty()
  • Operators
    • operator ==(StringFieldSelector, string)
    • operator !=(StringFieldSelector, string)