Grooper.Core.VariableProvider

Variable Providers represent custom character sets or pipe delimited lists that can be used in Regular Expression patterns.


Inherits from: Grooper.GrooperObject

Properties

Property Name Property Type Description
IsEmpty System.Boolean Returns true if all properties with a ViewableAttribute are set to their default value.
IsWriteable System.Boolean Returns true if the object is writable, or false if it is not.

Methods

Method Name Description
GetProperties() As PropertyDescriptorCollection
GetValue(Name As String, Pattern As DataPattern, Culture As CultureData) As String
Parameters
Name
          Type: String
          
 
Pattern
          Type: DataPattern
          
 
Culture
          Type: CultureData
          
GetVariableNames(Pattern As DataPattern) As IEnumerable(Of String)
Parameters
Pattern
          Type: DataPattern
          
GetVariableValue(Name As String, Pattern As DataPattern, Culture As CultureData) As String
Parameters
Name
          Type: String
          
 
Pattern
          Type: DataPattern
          
 
Culture
          Type: CultureData
          
IsPropertyEnabled(PropertyName As String) As Nullable(Of Boolean) Defines whether a property is currently enabled.
Parameters
PropertyName
          Type: String
          The name of the property to determine the enabled state for.
IsPropertyVisible(PropertyName As String) As Nullable(Of Boolean) Defines whether a property is currently visible.
Parameters
PropertyName
          Type: String
          The name of the property to determine the visible state for.
IsType(Type As Type) As Boolean Returns true if the object is of the type specified, or if it derives from the type specfied.
Parameters
Type
          Type: Type
          The type to check.
ValidateProperties() As ValidationErrorList Validates the properties of the object, returning a list of validation errors.