Skip to content

M_CodeJam_DebugCode_NotNullNorEmpty

Andrew Koryavchenko edited this page Jun 17, 2018 · 8 revisions

DebugCode.NotNullNorEmpty Method

Ensures that arg is not null nor empty

Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void NotNullNorEmpty(
	string arg,
	string argName
)

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub NotNullNorEmpty ( 
	arg As String,
	argName As String
)

F#

[<ConditionalAttribute("DEBUG")>]
static member NotNullNorEmpty : 
        arg : string * 
        argName : string -> unit 

Parameters

 

arg
Type: System.String
The argument.
argName
Type: System.String
Name of the argument.

See Also

Reference

DebugCode Class
CodeJam Namespace

Clone this wiki locally