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

Gets the argument data for the given type T. Public and non-public constructors are used. A data map is used to fill in the data used in the constructor by the parameter type. If the data is missing for a given parameter type, Mocks or default values are used.

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

Syntax


public Object[] GetArgData<T>(
	Dictionary<Type, Object> data
)
Public Function GetArgData(Of T) ( _
	data As Dictionary(Of Type, Object) _
) As Object()
public:
generic<typename T>
array<Object^>^ GetArgData(
	Dictionary<Type^, Object^>^ data
)

Type Parameters

T

Parameters

data
Type: Dictionary<(Of <(<'Type, Object>)>)>
The data map used when generating the object argument data for a constructor.

Return Value

System.Nullable<System.Object>[].