using System; namespace WireMock.Server { /// /// IRespondWithAProvider /// public interface IRespondWithAProvider { /// /// Define a unique identifier for this mapping. /// /// The unique identifier. /// The . IRespondWithAProvider WithGuid(Guid guid); /// /// Define a unique title for this mapping. /// /// The unique title. /// The . IRespondWithAProvider WithTitle(string title); /// /// Define the full filepath for this mapping. /// /// The full filepath. /// The . IRespondWithAProvider WithPath(string path); /// /// Define a unique identifier for this mapping. /// /// The unique identifier. /// The . IRespondWithAProvider WithGuid(string guid); /// /// Define the priority for this mapping. /// /// The priority. /// The . IRespondWithAProvider AtPriority(int priority); /// /// The respond with. /// /// The provider. void RespondWith(IResponseProvider provider); /// /// Sets the the scenario. /// /// The scenario. /// The . IRespondWithAProvider InScenario(string scenario); /// /// Execute this respond only in case the current state is equal to specified one. /// /// Any object which identifies the current state /// The . IRespondWithAProvider WhenStateIs(object state); /// /// Once this mapping is executed the state will be changed to specified one. /// /// Any object which identifies the new state /// The . IRespondWithAProvider WillSetStateTo(object state); } }