C# Class PTFConfiguration, PTF

Summary description for PTFConfiguration
显示文件 Open project: ucdavis/PTF Class Usage Examples

Public Methods

Method Description
ErrorMessage ( PTFConfiguration, error ) : string

Returns the friendly error message from a given reason

ErrorMessage ( string reason ) : string

Returns the friendly error message from a given reason

ErrorPage ( ErrorType, error ) : string

Returns the name of the page to redirect the user to for the specified error

Method Details

ErrorMessage() public static method

Returns the friendly error message from a given reason
public static ErrorMessage ( PTFConfiguration, error ) : string
error PTFConfiguration,
return string

ErrorMessage() public static method

Returns the friendly error message from a given reason
public static ErrorMessage ( string reason ) : string
reason string The short reason
return string

ErrorPage() public static method

Returns the name of the page to redirect the user to for the specified error
public static ErrorPage ( ErrorType, error ) : string
error ErrorType,
return string