1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-06-29 09:11:45 +02:00
GiantsTools/Giants.Services/Store/IServerRegistryStore.cs
2020-08-08 16:31:21 -07:00

19 lines
496 B
C#

namespace Giants.Services
{
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
public interface IServerRegistryStore
{
public Task Initialize();
public Task<IEnumerable<ServerInfo>> GetServerInfos(Expression<Func<ServerInfo, bool>> whereExpression = null);
public Task<ServerInfo> GetServerInfo(string ipAddress);
public Task UpsertServerInfo(ServerInfo serverInfo);
}
}