mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-24 10:01:00 +01:00
46 lines
1.5 KiB
C#
46 lines
1.5 KiB
C#
using System;
|
|
|
|
namespace WireMock.Server
|
|
{
|
|
/// <summary>
|
|
/// IRespondWithAProvider
|
|
/// </summary>
|
|
public interface IRespondWithAProvider
|
|
{
|
|
/// <summary>
|
|
/// Define a unique identifier for this mapping.
|
|
/// </summary>
|
|
/// <param name="guid">The unique identifier.</param>
|
|
/// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
|
|
IRespondWithAProvider WithGuid(Guid guid);
|
|
|
|
/// <summary>
|
|
/// Define a unique title for this mapping.
|
|
/// </summary>
|
|
/// <param name="title">The unique title.</param>
|
|
/// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
|
|
IRespondWithAProvider WithTitle(string title);
|
|
|
|
/// <summary>
|
|
/// Define a unique identifier for this mapping.
|
|
/// </summary>
|
|
/// <param name="guid">The unique identifier.</param>
|
|
/// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
|
|
IRespondWithAProvider WithGuid(string guid);
|
|
|
|
/// <summary>
|
|
/// Define the priority for this mapping.
|
|
/// </summary>
|
|
/// <param name="priority">The priority.</param>
|
|
/// <returns>The <see cref="IRespondWithAProvider"/>.</returns>
|
|
IRespondWithAProvider AtPriority(int priority);
|
|
|
|
/// <summary>
|
|
/// The respond with.
|
|
/// </summary>
|
|
/// <param name="provider">
|
|
/// The provider.
|
|
/// </param>
|
|
void RespondWith(IResponseProvider provider);
|
|
}
|
|
} |