 |
UnitTestSetReadOnlyFieldValue Method (Type, String, Object) |
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Sets the data object on a defined read only field of a particular type.
Namespace:
WeroSoft.UnitTesting
Assembly:
WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.0 Pre-Release
Syntaxpublic static void SetReadOnlyFieldValue(
Type targetType,
string fieldName,
Object data
)
Parameters
- targetType
- Type: SystemType
Object on which the static field shall be set. - fieldName
- Type: SystemString
Name of the field to be set. - data
- Type: SystemObject
Data object which shall be set.
Exceptions
See Also