IChunkTreeCache Interface¶
Methods¶
-
GetOrAdd
(System.String, System.Func<IFileInfo, ChunkTree>)¶ Get an existing @!:ChunkTree-, or create and add a new one if it is not available in the cache or is expired.
Arguments: - pagePath (System.String) – The application relative path of the Razor page.
- getChunkTree (System.Func{IFileInfo,ChunkTree}) – A delegate that creates a new @!:ChunkTree-.
Return type: ChunkTree
Returns: The @!:ChunkTree- if a file exists at <paramref name=”pagePath” />, <c>null</c> otherwise.
ChunkTree GetOrAdd(string pagePath, Func<IFileInfo, ChunkTree> getChunkTree)
-