C# Class ImageMagick.Throw

Exibir arquivo Open project: dlemstra/Magick.NET Class Usage Examples

Public Methods

Method Description
IfFalse ( string paramName, bool condition, string message ) : void
IfInvalidFileName ( string fileName ) : void
IfNegative ( string paramName, Percentage value ) : void
IfNull ( string paramName, object value ) : void
IfNull ( string paramName, object value, string message ) : void
IfNullOrEmpty ( string paramName, [ value ) : void
IfNullOrEmpty ( string paramName, string value, string message ) : void
IfOutOfRange ( string paramName, int index, int length ) : void
IfOutOfRange ( string paramName, int min, int max, int value, string message ) : void
IfTrue ( string paramName, bool condition, string message ) : void

Private Methods

Method Description
FormatMessage ( string message ) : string

Method Details

IfFalse() public static method

public static IfFalse ( string paramName, bool condition, string message ) : void
paramName string
condition bool
message string
return void

IfInvalidFileName() public static method

public static IfInvalidFileName ( string fileName ) : void
fileName string
return void

IfNegative() public static method

public static IfNegative ( string paramName, Percentage value ) : void
paramName string
value Percentage
return void

IfNull() public static method

public static IfNull ( string paramName, object value ) : void
paramName string
value object
return void

IfNull() public static method

public static IfNull ( string paramName, object value, string message ) : void
paramName string
value object
message string
return void

IfNullOrEmpty() public static method

public static IfNullOrEmpty ( string paramName, [ value ) : void
paramName string
value [
return void

IfNullOrEmpty() public static method

public static IfNullOrEmpty ( string paramName, string value, string message ) : void
paramName string
value string
message string
return void

IfOutOfRange() public static method

public static IfOutOfRange ( string paramName, int index, int length ) : void
paramName string
index int
length int
return void

IfOutOfRange() public static method

public static IfOutOfRange ( string paramName, int min, int max, int value, string message ) : void
paramName string
min int
max int
value int
message string
return void

IfTrue() public static method

public static IfTrue ( string paramName, bool condition, string message ) : void
paramName string
condition bool
message string
return void