TestimoX

API Reference

Class

PowerShellRuleExtensions

Extension methods for PowerShellRule values.

Inheritance

  • Object
  • PowerShellRuleExtensions

Methods

public static String ToRuleName(PowerShellRule rule) #
Returns: String

Gets the original PowerShell rule name for the enum value.

Parameters

rule TestimoX.RulesPowerShell.PowerShellRule requiredposition: 0
public static Boolean TryParse(String name, out PowerShellRule rule) #
Returns: Boolean

Attempts to parse a PowerShell rule name to its enum value.

Parameters

name System.String requiredposition: 0
rule TestimoX.RulesPowerShell.PowerShellRule@ requiredposition: 1