Leadtools.Dicom.Web Namespace > MedicalWebViewerLoader Class : GetCache Method |
'Declaration Protected Overridable Function GetCache( _ ByVal userName As String, _ ByVal cacheTimeout As TimeSpan, _ ByVal cacheSize As Integer _ ) As Leadtools.Medical.Caching.Cache
'Usage Dim instance As MedicalWebViewerLoader Dim userName As String Dim cacheTimeout As TimeSpan Dim cacheSize As Integer Dim value As Leadtools.Medical.Caching.Cache value = instance.GetCache(userName, cacheTimeout, cacheSize)
Note to inheritors: Override this method to create your own type of cache storage mechanism, the current cache will store items on disk but you can use any other storage