Loading files
using Orchard;
namespace Hast.Communication.Services
{
/// <summary>
/// Service for selecting an <see cref="ICommunicationService"/> instance based on the given channel name.
/// </summary>
public interface ICommunicationServiceSelector : IDependency
{
/// <summary>
/// Returns the communication service based on the given channel name.
/// If channel name is empty it returns with the default communication service.
/// </summary>
/// <param name="channelName">Name of the channel used to communicate.</param>
/// <returns>Communication service based on the given channel name.</returns>
ICommunicationService GetCommunicationService(string channelName = "");
}
}
31473a557This file is pinned to the selected release. Download the original to open it in your design tool.