C# Class GitHub.Caches.CacheIndex

Datei anzeigen Open project: github/VisualStudio

Private Properties

Property Type Description

Public Methods

Method Description
Add ( string indexKey, CacheItem item ) : CacheIndex
AddAndSave ( IBlobCache cache, string indexKey, CacheItem item, DateTimeOffset absoluteExpiration = null ) : IObservable
AddAndSaveToIndex ( IBlobCache cache, string indexKey, CacheItem item, DateTimeOffset absoluteExpiration = null ) : IObservable
CacheIndex ( ) : System
Clear ( ) : CacheIndex
Create ( string key ) : CacheIndex
Save ( IBlobCache cache, DateTimeOffset absoluteExpiration = null ) : IObservable

Method Details

Add() public method

public Add ( string indexKey, CacheItem item ) : CacheIndex
indexKey string
item CacheItem
return CacheIndex

AddAndSave() public method

public AddAndSave ( IBlobCache cache, string indexKey, CacheItem item, DateTimeOffset absoluteExpiration = null ) : IObservable
cache IBlobCache
indexKey string
item CacheItem
absoluteExpiration DateTimeOffset
return IObservable

AddAndSaveToIndex() public static method

public static AddAndSaveToIndex ( IBlobCache cache, string indexKey, CacheItem item, DateTimeOffset absoluteExpiration = null ) : IObservable
cache IBlobCache
indexKey string
item CacheItem
absoluteExpiration DateTimeOffset
return IObservable

CacheIndex() public method

public CacheIndex ( ) : System
return System

Clear() public method

public Clear ( ) : CacheIndex
return CacheIndex

Create() public static method

public static Create ( string key ) : CacheIndex
key string
return CacheIndex

Save() public method

public Save ( IBlobCache cache, DateTimeOffset absoluteExpiration = null ) : IObservable
cache IBlobCache
absoluteExpiration DateTimeOffset
return IObservable