Skip to content

M_CodeJam_Code_AssertArgument

andrewvk edited this page Apr 20, 2016 · 10 revisions

Code.AssertArgument Method (Boolean, String, Func(String))

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

Assertion for the argument value

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

Syntax

C#

public static void AssertArgument(
	bool condition,
	string argName,
	Func<string> messageFactory
)

VB

Public Shared Sub AssertArgument ( 
	condition As Boolean,
	argName As String,
	messageFactory As Func(Of String)
)

F#

static member AssertArgument : 
        condition : bool * 
        argName : string * 
        messageFactory : Func<string> -> unit 

Parameters

 

condition
Type: System.Boolean
[Missing documentation for "M:CodeJam.Code.AssertArgument(System.Boolean,System.String,System.Func{System.String})"]
argName
Type: System.String
[Missing documentation for "M:CodeJam.Code.AssertArgument(System.Boolean,System.String,System.Func{System.String})"]
messageFactory
Type: System.Func(String)
[Missing documentation for "M:CodeJam.Code.AssertArgument(System.Boolean,System.String,System.Func{System.String})"]

See Also

Reference

Code Class
AssertArgument Overload
CodeJam Namespace

Clone this wiki locally