C# Class MvcApi.Error

Datei anzeigen Open project: dax70/MvcApi

Public Methods

Method Description
Argument ( string parameterName, string messageFormat ) : ArgumentException
ArgumentMustBeGreaterThanOrEqualTo ( string parameterName, object actualValue, object minValue ) : ArgumentOutOfRangeException
ArgumentNull ( string parameterName ) : ArgumentNullException
ArgumentOutOfRange ( string parameterName, object actualValue, string messageFormat ) : ArgumentOutOfRangeException
AsyncCommon_AsyncResultAlreadyConsumed ( ) : InvalidOperationException
AsyncCommon_InvalidAsyncResult ( string parameterName ) : ArgumentException
InvalidEnumArgument ( string parameterName, int invalidValue, Type enumClass ) : ArgumentException
InvalidOperation ( string messageFormat ) : InvalidOperationException
ParameterCannotBeNullOrEmpty ( string parameterName ) : ArgumentException

Private Methods

Method Description
Format ( string format ) : string
PropertyNull ( ) : ArgumentNullException

Method Details

Argument() public static method

public static Argument ( string parameterName, string messageFormat ) : ArgumentException
parameterName string
messageFormat string
return System.ArgumentException

ArgumentMustBeGreaterThanOrEqualTo() public static method

public static ArgumentMustBeGreaterThanOrEqualTo ( string parameterName, object actualValue, object minValue ) : ArgumentOutOfRangeException
parameterName string
actualValue object
minValue object
return System.ArgumentOutOfRangeException

ArgumentNull() public static method

public static ArgumentNull ( string parameterName ) : ArgumentNullException
parameterName string
return System.ArgumentNullException

ArgumentOutOfRange() public static method

public static ArgumentOutOfRange ( string parameterName, object actualValue, string messageFormat ) : ArgumentOutOfRangeException
parameterName string
actualValue object
messageFormat string
return System.ArgumentOutOfRangeException

AsyncCommon_AsyncResultAlreadyConsumed() public static method

public static AsyncCommon_AsyncResultAlreadyConsumed ( ) : InvalidOperationException
return System.InvalidOperationException

AsyncCommon_InvalidAsyncResult() public static method

public static AsyncCommon_InvalidAsyncResult ( string parameterName ) : ArgumentException
parameterName string
return System.ArgumentException

InvalidEnumArgument() public static method

public static InvalidEnumArgument ( string parameterName, int invalidValue, Type enumClass ) : ArgumentException
parameterName string
invalidValue int
enumClass System.Type
return System.ArgumentException

InvalidOperation() public static method

public static InvalidOperation ( string messageFormat ) : InvalidOperationException
messageFormat string
return System.InvalidOperationException

ParameterCannotBeNullOrEmpty() public static method

public static ParameterCannotBeNullOrEmpty ( string parameterName ) : ArgumentException
parameterName string
return System.ArgumentException