Click or drag to resize
weroSoft AG, Software
UnitTestGetPropertyValueT Method (Type, String)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Gets the data object held by a defined property of a particular type.

Namespace:  WeroSoft.UnitTesting
Assembly:  WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.22.8.1 (3.22.1002.1)
Syntax
C#
public static T GetPropertyValue<T>(
	this Type targetType,
	string propertyName
)

Parameters

targetType
Type: SystemType
Type on which the property's data shall be get from.
propertyName
Type: SystemString
Name of the property whose data shall be get from.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:WeroSoft.UnitTesting.UnitTest.GetPropertyValue``1(System.Type,System.String)"]

Return Value

Type: T
Content of the particular property.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also