A database based on .net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
786 B

// Author: Gockner, Simon
// Created: 2020-02-12
// Copyright(c) 2020 SimonG. All Rights Reserved.
using GBase.Api.Communication;
using GBase.Api.Services;
namespace GBase.Client.Services.Factories
{
/// <summary>
/// Factory for the <see cref="IGBaseService"/>
/// </summary>
public interface IGBaseServiceFactory
{
/// <summary>
/// Creates an <see cref="IGBaseService"/>
/// </summary>
/// <param name="serverProtocol">The <see cref="ServerProtocol"/></param>
/// <param name="endpoint">The endpoint for the GBase</param>
/// <returns>A newly created instance of the implementation for <see cref="IGBaseService"/></returns>
IGBaseService Create(ServerProtocol serverProtocol, string endpoint);
}
}