-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_DebugCode_ItemNotNull__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
4 revisions
Ensures that all items in arg != null
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.0.0
C#
[ConditionalAttribute("DEBUG")]
public static void ItemNotNull<T>(
IEnumerable<T> arg,
string argName
)
where T : class
VB
<ConditionalAttribute("DEBUG")>
Public Shared Sub ItemNotNull(Of T As Class) (
arg As IEnumerable(Of T),
argName As String
)
F#
[<ConditionalAttribute("DEBUG")>]
static member ItemNotNull :
arg : IEnumerable<'T> *
argName : string -> unit when 'T : not struct
- arg
- Type: System.Collections.Generic.IEnumerable(T)
The argument. - argName
- Type: System.String
Name of the argument.
- T
- Type of the value. Auto-inferred in most cases