Click or drag to resize

DynamicUserControlViewModelBaseGetResultPropertyT Method

Retrieves a property with the name propertyName of type T from the ReturnObject of the owning Vishnu node. The ReturnObject must be of the type requiredReturnObjectType.

Namespace: Vishnu.ViewModel
Assembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntax
protected T GetResultProperty<T>(
	
	Type requiredReturnObjectType,
	
	string propertyName
)

Parameters

requiredReturnObjectType  Type
Type of the ReturnObject of the owning node.
propertyName  String
Name of the property searched for or null. If null, the ReturnObject itself is returned.

Type parameters

T
Type of property searched for.

Return value

T
Property from the ReturnObject of the owning Vishnu node.
See also