C# Class Kartverket.MetadataEditor.Models.MemoryCacher

Show file Open project: kartverket/MetadataEditor Class Usage Examples

Public Methods

Method Description
Add ( string key, object value, DateTimeOffset absExpiration ) : bool
Delete ( string key ) : void
DeleteAll ( ) : void
GetValue ( string key ) : object

Method Details

Add() public method

public Add ( string key, object value, DateTimeOffset absExpiration ) : bool
key string
value object
absExpiration DateTimeOffset
return bool

Delete() public method

public Delete ( string key ) : void
key string
return void

DeleteAll() public method

public DeleteAll ( ) : void
return void

GetValue() public method

public GetValue ( string key ) : object
key string
return object