Skip to content

M_CodeJam_DebugCode_NotNull__1

andrewvk edited this page Apr 5, 2016 · 8 revisions

DebugCode.NotNull(T) Method (Nullable(T), String)

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

Ensures that arg != null

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

Syntax

C#

[ConditionalAttribute("DEBUG")]
public static void NotNull<T>(
	Nullable<T> arg,
	string argName
)
where T : struct, new()

VB

<ConditionalAttribute("DEBUG")>
Public Shared Sub NotNull(Of T As {Structure, New}) ( 
	arg As Nullable(Of T),
	argName As String
)

F#

[<ConditionalAttribute("DEBUG")>]
static member NotNull : 
        arg : Nullable<'T> * 
        argName : string -> unit  when 'T : struct, new()

Parameters

 

arg
Type: System.Nullable(T)
[Missing documentation for "M:CodeJam.DebugCode.NotNull1(System.Nullable{0},System.String)"]
argName
Type: System.String
[Missing documentation for "M:CodeJam.DebugCode.NotNull1(System.Nullable{0},System.String)"]

Type Parameters

 

T

See Also

Reference

DebugCode Class
NotNull Overload
CodeJam Namespace

Clone this wiki locally