mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
17 lines
360 B
C#
17 lines
360 B
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace Wox.Infrastructure.Storage
|
|||
|
|
{
|
|||
|
|
public interface IRepository<T>
|
|||
|
|
{
|
|||
|
|
void Add(T insertedItem);
|
|||
|
|
void Remove(T removedItem);
|
|||
|
|
bool Contains(T item);
|
|||
|
|
void Set(IList<T> list);
|
|||
|
|
bool Any();
|
|||
|
|
}
|
|||
|
|
}
|