DefaultObjectCache<T> Class

A default object cache that expect the type {T} to provide a parameter less constructor

public abstract class DefaultObjectCache<T> : ObjectCache<T> where T : class, new()

Type parameters

T
The type of item to cache

See also

Inheritance
ObjectCache<T> DefaultObjectCache<T>

Constructors

NameDescription
DefaultObjectCache()

DefaultObjectCache()

protected DefaultObjectCache()

No documentation is available.

Methods

NameDescription
NewInstance()Performs the new instance operation.

Performs the new instance operation.

protected override T NewInstance()

Returns

T