/ src / modules / launcher / Wox.Infrastructure / Storage / IRepository`1.cs
IRepository`1.cs
 1  // Copyright (c) Microsoft Corporation
 2  // The Microsoft Corporation licenses this file to you under the MIT license.
 3  // See the LICENSE file in the project root for more information.
 4  
 5  using System.Collections.Generic;
 6  
 7  namespace Wox.Infrastructure.Storage
 8  {
 9      public interface IRepository<T>
10      {
11          void Add(T insertedItem);
12  
13          void Remove(T removedItem);
14  
15          bool Contains(T item);
16  
17          void SetList(IList<T> list);
18  
19          bool Any();
20      }
21  }