C# Class NServiceBus.Guard

Mostrar archivo Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
AgainstNegative ( [ argumentName, System.TimeSpan value ) : void
AgainstNegative ( [ argumentName, int value ) : void
AgainstNegativeAndZero ( [ argumentName, System.TimeSpan value ) : void
AgainstNegativeAndZero ( [ argumentName, int value ) : void
TypeHasDefaultConstructor ( Type type, [ argumentName ) : void

Private Methods

Method Description
AgainstNull ( [ argumentName, [ value ) : void
AgainstNullAndEmpty ( [ argumentName, [ value ) : void

Method Details

AgainstNegative() public static method

public static AgainstNegative ( [ argumentName, System.TimeSpan value ) : void
argumentName [
value System.TimeSpan
return void

AgainstNegative() public static method

public static AgainstNegative ( [ argumentName, int value ) : void
argumentName [
value int
return void

AgainstNegativeAndZero() public static method

public static AgainstNegativeAndZero ( [ argumentName, System.TimeSpan value ) : void
argumentName [
value System.TimeSpan
return void

AgainstNegativeAndZero() public static method

public static AgainstNegativeAndZero ( [ argumentName, int value ) : void
argumentName [
value int
return void

TypeHasDefaultConstructor() public static method

public static TypeHasDefaultConstructor ( Type type, [ argumentName ) : void
type System.Type
argumentName [
return void