Skip to main content
Definition: LIBS/DotNetUtils/Phoenix.ModelCenter.PlugIn/FormUtils.cs (line 13) Generic utility class for forms where all logic can be moved for unit tests

Members

Public static functions

Function NameFilterCheck

Helper method that checks if a name passes the filter. Filters are simple filters that match if the target string contains them. Filters may include asterisk (*) to mean match any number of any character. Parameters:
  • filter: filter to check against
  • name: name to be checked
  • caseSensitive: pass true if the filter should be case sensitive, false by default
Returns: True if the name matches the filter. False otherwise. Parameters:
  • string filter
  • string name
  • bool caseSensitive = false
Return type: bool