C# 클래스 Stumps.Web.ViewModules.ModuleHelper

A class that provides helper functions for the view models.
파일 보기 프로젝트 열기: Cayan-LLC/stumps 1 사용 예제들

공개 메소드들

메소드 설명
StateValue ( StumpsServerInstance serverInstance, string running, string stopped, string recording ) : string

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

메소드 상세

StateValue() 공개 정적인 메소드

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.
리턴 string