Class StringFieldSelector
Namespace: Consul.Filtering
Assembly: Consul.dll
public sealed class StringFieldSelector : Selector, IEncodable
Inheritance
object ← Selector ← StringFieldSelector
Implements
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
Prefix
public string Prefix { get; }
Property Value
Methods
Contains(string)
public Filter Contains(string value)
Parameters
value
string
Returns
Encode()
public override string Encode()
Returns
IsEmpty()
public Filter IsEmpty()
Returns
Operators
operator ==(StringFieldSelector, string)
public static Filter operator ==(StringFieldSelector selector, string value)
Parameters
selector
StringFieldSelector
value
string
Returns
operator !=(StringFieldSelector, string)
public static Filter operator !=(StringFieldSelector selector, string value)
Parameters
selector
StringFieldSelector
value
string