C# Class Stumps.Web.ViewModules.ModuleHelper

A class that provides helper functions for the view models.
Afficher le fichier Open project: Cayan-LLC/stumps Class Usage Examples

Méthodes publiques

Méthode Description
StateValue ( StumpsServerInstance serverInstance, string running, string stopped, string recording ) : string

Returns a string value depending on the state of a T:Stumps.Server.StumpsServerInstance.

Method Details

StateValue() public static méthode

Returns a string value depending on the state of a T:Stumps.Server.StumpsServerInstance.
is null.
public static StateValue ( StumpsServerInstance serverInstance, string running, string stopped, string recording ) : string
serverInstance Stumps.Server.StumpsServerInstance The instance of the Stumps server.
running string The message to use if the proxy environment is running.
stopped string The message to use if the proxy environment is stopped.
recording string The message to use if the proxy environment is recording.
Résultat string