TestimoX

API Reference

Class

ServiceNameValidator

Namespace TestimoX.Services
Assembly TestimoX
Modifiers static

Provides validation helpers for Windows service names used in deployment workflows.

Inheritance

  • Object
  • ServiceNameValidator

Methods

public static Boolean IsValid(String serviceName) #
Returns: Boolean

Determines whether the supplied service name is valid for service deployment commands.

Parameters

serviceName System.String requiredposition: 0
Windows service name.

Returns

true when the name is valid; otherwise false.

public static Void Validate(String serviceName) #
Returns: Void

Validates the supplied service name and throws when invalid.

Parameters

serviceName System.String requiredposition: 0
Windows service name.