'Declaration Public Overloads Function Get(Of T)( _ ByVal parms As SmartParms, _ ByVal serviceFunction As System.Func(Of Dictionary(Of String,Object),T), _ ByVal serviceParms As System.Collections.Generic.Dictionary(Of String,Object) _ ) As T
'Usage Dim instance As SmartCache Dim parms As SmartParms Dim serviceFunction As System.Func(Of Dictionary(Of String,Object),T) Dim serviceParms As System.Collections.Generic.Dictionary(Of String,Object) Dim value As T value = instance.Get(Of T)(parms, serviceFunction, serviceParms)
public T Get<T>( SmartParms parms, System.Func<Dictionary<string,object>,T> serviceFunction, System.Collections.Generic.Dictionary<string,object> serviceParms )
public: T* Get<T>( SmartParms* parms, System.Func<Dictionary<string*,Object*>*,T*>* serviceFunction, System.Collections.Generic.Dictionary<string*,Object*>* serviceParms )
public: T^ Getgeneric<typename T> ( SmartParms^ parms, System.Func<Dictionary<String^,Object^>^,T^>^ serviceFunction, System.Collections.Generic.Dictionary<String^,Object^>^ serviceParms )
Parameters
- parms
- Parameters specifying the key, region, and expiration
- serviceFunction
- The function to call if is not found in the cache.
- serviceParms
- The parameters to pass to the service function.
Type Parameters
- T
Return Value
T.