Struct ContextKind
  A string value provided by the application to describe what kind of entity a
Context represents.
 
  
  
  
  
  Assembly: LaunchDarkly.CommonSdk.dll
  Syntax
  
    public readonly struct ContextKind : IEquatable<ContextKind>
   
  
  
  Constructors
  
  ContextKind(string)
  Constructor from a string value.
 
  
  Declaration
  
    public ContextKind(string stringValue)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | string | 
        stringValue | 
        the string value 
 | 
      
    
  
  
  
  Fields
  Default
  A constant for the default kind of "user".
 
  
  Declaration
  
    public static readonly ContextKind Default
   
  Field Value
  
  Multi
  A constant for the kind that all multi-kind Contexts have.
 
  
  Declaration
  
    public static readonly ContextKind Multi
   
  Field Value
  
  Properties
  
  IsDefault
  True if this is equal to Default ("user").
 
  
  Declaration
  
    public bool IsDefault { get; }
   
  Property Value
  
  
  Value
  The string value of the context kind. This is never null.
 
  
  Declaration
  
    public string Value { get; }
   
  Property Value
  
  Methods
  
  Equals(ContextKind)
  
  
  Declaration
  
    public bool Equals(ContextKind other)
   
  Parameters
  
  Returns
  
  
  Equals(object)
  
  
  Declaration
  
    public override bool Equals(object obj)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | object | 
        obj | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
  Overrides
  
  
  Of(string)
  Shortcut for calling the constructor.
 
  
  Declaration
  
    public static ContextKind Of(string stringValue)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | string | 
        stringValue | 
        the string value 
 | 
      
    
  
  Returns
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
  Overrides
  
  Operators
  
  operator ==(ContextKind, ContextKind)
  
  
  Declaration
  
    public static bool operator ==(ContextKind a, ContextKind b)
   
  Parameters
  
  Returns
  
  
  operator !=(ContextKind, ContextKind)
  
  
  Declaration
  
    public static bool operator !=(ContextKind a, ContextKind b)
   
  Parameters
  
  Returns
  
  Implements