C# Class Stumps.Web.ViewModules.ModuleHelper

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

Public Methods

Method 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 method

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.
return string