mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-08 06:08:20 -05:00
15 lines
327 B
C#
15 lines
327 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Data.Abstractions
|
|
{
|
|
public interface ILookupCache<T> where T : class
|
|
{
|
|
Task InitializeAsync();
|
|
Task<T> AddAsync(T item);
|
|
Task<T> FirstAsync(Func<T, bool> query);
|
|
IEnumerable<T> GetAll();
|
|
}
|
|
}
|