Class StringEnum<T>
Class representing enum-like string values.
Inheritance
object
    StringEnum<T>
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
  Namespace: Tableau.Migration
Assembly: Tableau.Migration.dll
Syntax
public abstract class StringEnum<T>
  Type Parameters
| Name | Description | 
|---|---|
| T | The type that contains the values.  | 
      
Methods
GetAll(params IEnumerable<string>)
Gets a collection of all values.
Declaration
public static IImmutableList<string> GetAll(params IEnumerable<string> exclude)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IEnumerable<string> | exclude | The values to exclude.  | 
      
Returns
| Type | Description | 
|---|---|
| IImmutableList<string> | 
IsAMatch(string?, string?)
Finds whether or not two values match, case insensitively.
Declaration
public static bool IsAMatch(string? first, string? second)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | first | The first value to test.  | 
      
| string | second | The second value to test.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | True if matched; otherwise false.  |