Skip to content

M_CodeJam_DebugCode_NotNullNorEmpty

andrewvk edited this page Mar 30, 2016 · 8 revisions

DebugCode.NotNullNorEmpty Method

[This is preliminary documentation and is subject to change.]

Ensures that arg is not null nor empty

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
[AssertionMethodAttribute]
public static void NotNullNorEmpty(
	[CanBeNullAttribute] string arg,
	[NotNullAttribute][InvokerParameterNameAttribute] string argName
)

VB

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

F#

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

Parameters

 

arg
Type: System.String
[Missing documentation for "M:CodeJam.DebugCode.NotNullNorEmpty(System.String,System.String)"]
argName
Type: System.String
[Missing documentation for "M:CodeJam.DebugCode.NotNullNorEmpty(System.String,System.String)"]

See Also

Reference

DebugCode Class
CodeJam Namespace

Clone this wiki locally