Mocker..::..AddProperties Method (Type, Object)

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 Object AddProperties(
	Type type,
	Object obj
)
Public Function AddProperties ( _
	type As Type, _
	obj As Object _
) As Object
public:
Object^ AddProperties(
	Type^ type, 
	Object^ obj
)

Parameters

type
Type: Type
The type.
obj
Type: Object
The object.

Return Value

object.