Public Function GetLazyValue
(Of T As {Class, New},
TC As {Class, New})( _
ByVal currentObject As T, _
ByVal propertyLambda As Expression(Of Func(Of T,TC)) _
) As TC
Dim instance As DataHelper Dim currentObject As T Dim propertyLambda As Expression(Of Func(Of T,TC)) Dim value As TC value = instance.GetLazyValue(Of T, TC)(currentObject, propertyLambda)
public TC GetLazyValue<T,TC>( T currentObject, Expression<Func<T,TC>> propertyLambda ) where T: class, new() where TC: class, new()
public: TC* GetLazyValue<T,TC>( T* currentObject, Expression<Func<T*,TC*>*>* propertyLambda ) where T: ref class, gcnew() where TC: ref class, gcnew()
public: TC^ GetLazyValuegeneric<typename T> generic<typename TC> ( T^ currentObject, Expression<Func<T^,TC^>^>^ propertyLambda ) where T: ref class, gcnew() where TC: ref class, gcnew()
Parameters
- currentObject
- propertyLambda
Type Parameters
- T
- TC