Telerik® JustMock™ by Progress

[Missing <summary> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Assert``2(``0,System.Linq.Expressions.Expression{System.Func`2},System.Boolean,``0)"]

Namespace: Telerik.JustMock.Helpers
Assembly: Telerik.JustMock (in Telerik.JustMock.dll) Version: 2013.3.1021.0 (2013.3.1021.0)

Syntax

C#
public static void Assert<T, TReturn>(
	this T obj,
	Expression<Func> expression,
	bool occurs,
	T message = null
)
Visual Basic
<ExtensionAttribute> _
Public Shared Sub Assert(Of T, TReturn) ( _
	obj As T, _
	expression As Expression(Of Func), _
	occurs As Boolean, _
	Optional message As T = Nothing _
)

Parameters

obj
Type: T

[Missing <param name="obj"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Assert``2(``0,System.Linq.Expressions.Expression{System.Func`2},System.Boolean,``0)"]

expression
Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TResult>)>)>>)>)>

[Missing <param name="expression"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Assert``2(``0,System.Linq.Expressions.Expression{System.Func`2},System.Boolean,``0)"]

occurs
Type: System..::..Boolean

[Missing <param name="occurs"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Assert``2(``0,System.Linq.Expressions.Expression{System.Func`2},System.Boolean,``0)"]

message (Optional)
Type: T

[Missing <param name="message"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Assert``2(``0,System.Linq.Expressions.Expression{System.Func`2},System.Boolean,``0)"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Assert``2(``0,System.Linq.Expressions.Expression{System.Func`2},System.Boolean,``0)"]

TReturn

[Missing <typeparam name="TReturn"/> documentation for "M:Telerik.JustMock.Helpers.FluentHelper.Assert``2(``0,System.Linq.Expressions.Expression{System.Func`2},System.Boolean,``0)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also