TestClassExtensions..::..SetPropertyValue<(Of <(<'TObject>)>)> Method

Sets the property value.

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

Syntax


public static void SetPropertyValue<TObject>(
	TObject obj,
	string name,
	Object value
)
Public Shared Sub SetPropertyValue(Of TObject) ( _
	obj As TObject, _
	name As String, _
	value As Object _
)
public:
generic<typename TObject>
static void SetPropertyValue(
	TObject obj, 
	String^ name, 
	Object^ value
)

Type Parameters

TObject
The type of the t object.

Parameters

obj
Type: TObject
The object.
name
Type: String
The name.
value
Type: Object
The value.