C# Class Upac.Core.Diagnostics.Assert

Show file Open project: 1508/upac-for-umbraco

Public Methods

Method Description
AreEqual ( string value1, string value2 ) : void
EnsureDirectoryExist ( string value, string parameterName ) : void
EnsureIntValue ( string value, string parameterName ) : void
EnsureNotNullReference ( object value, string parameterName ) : void
EnsureStringValue ( string value, string parameterName ) : void

Method Details

AreEqual() public static method

public static AreEqual ( string value1, string value2 ) : void
value1 string
value2 string
return void

EnsureDirectoryExist() public static method

public static EnsureDirectoryExist ( string value, string parameterName ) : void
value string
parameterName string
return void

EnsureIntValue() public static method

public static EnsureIntValue ( string value, string parameterName ) : void
value string
parameterName string
return void

EnsureNotNullReference() public static method

public static EnsureNotNullReference ( object value, string parameterName ) : void
value object
parameterName string
return void

EnsureStringValue() public static method

public static EnsureStringValue ( string value, string parameterName ) : void
value string
parameterName string
return void