Interface ICacheManager<TInput, TCache>
Assembly: ETLBox.dll
Syntax
public interface ICacheManager<TInput, TCache>
Type Parameters
Name |
Description |
TInput |
|
TCache |
|
Properties
Dict
Declaration
IDictionary<object, TCache> Dict { get; }
Property Value
Type |
Description |
System.Collections.Generic.IDictionary<System.Object, TCache> |
|
GetCacheUniqueKeyFunc
Declaration
Func<TCache, object> GetCacheUniqueKeyFunc { get; set; }
Property Value
Type |
Description |
System.Func<TCache, System.Object> |
|
Declaration
Func<TInput, object> GetInputUniqueKeyFunc { get; set; }
Property Value
Type |
Description |
System.Func<TInput, System.Object> |
|
Records
Declaration
ICollection<TCache> Records { get; }
Property Value
Type |
Description |
System.Collections.Generic.ICollection<TCache> |
|
Methods
Add(TInput)
Declaration
Parameters
Type |
Name |
Description |
TInput |
row |
|
Add(TInput[])
Declaration
Parameters
Type |
Name |
Description |
TInput[] |
batch |
|
Contains(TInput)
Declaration
bool Contains(TInput row)
Parameters
Type |
Name |
Description |
TInput |
row |
|
Returns
Type |
Description |
System.Boolean |
|
Contains(TInput[])
Declaration
bool Contains(TInput[] batch)
Parameters
Type |
Name |
Description |
TInput[] |
batch |
|
Returns
Type |
Description |
System.Boolean |
|
Init()
Declaration