Mocker..::..AddProperties<(Of <(<'T>)>)> Method (T)

Adds a default mock object to the writable properties in the object, if possible.

Namespace:  FastMoq
Assembly:  FastMoq.Core (in FastMoq.Core.dll)

Syntax


public T AddProperties<T>(
	T obj
)
Public Function AddProperties(Of T) ( _
	obj As T _
) As T
public:
generic<typename T>
T AddProperties(
	T obj
)

Type Parameters

T

Parameters

obj
Type: T
The object.

Return Value

T.