mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-19 23:41:41 +02:00
2.x.x (#366)
This commit is contained in:
@@ -11,7 +11,6 @@ namespace WireMock.Net.StandAlone
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The StandAloneApp
|
/// The StandAloneApp
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("This class will be removed in version 1.1.0")]
|
|
||||||
public static class StandAloneApp
|
public static class StandAloneApp
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -19,7 +18,6 @@ namespace WireMock.Net.StandAlone
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="settings">The FluentMockServerSettings</param>
|
/// <param name="settings">The FluentMockServerSettings</param>
|
||||||
[PublicAPI]
|
[PublicAPI]
|
||||||
[Obsolete("Will be replaced by WireMockServer.Start(settings) in version 1.1.0")]
|
|
||||||
public static FluentMockServer Start([NotNull] IFluentMockServerSettings settings)
|
public static FluentMockServer Start([NotNull] IFluentMockServerSettings settings)
|
||||||
{
|
{
|
||||||
Check.NotNull(settings, nameof(settings));
|
Check.NotNull(settings, nameof(settings));
|
||||||
@@ -37,7 +35,6 @@ namespace WireMock.Net.StandAlone
|
|||||||
/// <param name="args">The commandline arguments</param>
|
/// <param name="args">The commandline arguments</param>
|
||||||
/// <param name="logger">The logger</param>
|
/// <param name="logger">The logger</param>
|
||||||
[PublicAPI]
|
[PublicAPI]
|
||||||
[Obsolete("Will be replaced by `var settings = WireMockServerSettingsParser.ParseArguments(args, logger); WireMockServer.Start(settings);` in version 1.1.0")]
|
|
||||||
public static FluentMockServer Start([NotNull] string[] args, [CanBeNull] IWireMockLogger logger = null)
|
public static FluentMockServer Start([NotNull] string[] args, [CanBeNull] IWireMockLogger logger = null)
|
||||||
{
|
{
|
||||||
Check.NotNull(args, nameof(args));
|
Check.NotNull(args, nameof(args));
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ namespace WireMock.Server
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// The fluent mock server.
|
/// The fluent mock server.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("Will be replaced by WireMockServer in version 1.1.0")]
|
[Obsolete("Will be replaced by WireMockServer in version 2.x.x")]
|
||||||
public partial class FluentMockServer : IDisposable
|
public partial class FluentMockServer : IDisposable
|
||||||
{
|
{
|
||||||
private const int ServerStartDelayInMs = 100;
|
private const int ServerStartDelayInMs = 100;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace WireMock.Settings
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// FluentMockServerSettings
|
/// FluentMockServerSettings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("Will be replaced by WireMockServerSettings in version 1.1.0")]
|
[Obsolete("Will be replaced by WireMockServerSettings in version 2.x.x")]
|
||||||
public class FluentMockServerSettings : IFluentMockServerSettings
|
public class FluentMockServerSettings : IFluentMockServerSettings
|
||||||
{
|
{
|
||||||
/// <inheritdoc cref="IFluentMockServerSettings.Port"/>
|
/// <inheritdoc cref="IFluentMockServerSettings.Port"/>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace WireMock.Settings
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// IFluentMockServerSettings
|
/// IFluentMockServerSettings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("This interface will be removed and replaced by the class WireMockServerSettings in version 1.1.0")]
|
[Obsolete("This interface will be removed and replaced by the class WireMockServerSettings in version 2.x.x")]
|
||||||
public interface IFluentMockServerSettings
|
public interface IFluentMockServerSettings
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace WireMock.Settings
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// IProxyAndRecordSettings
|
/// IProxyAndRecordSettings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Obsolete("This interface will be removed and replaced by the class ProxyAndRecordSettings in version 1.1.0")]
|
[Obsolete("This interface will be removed and replaced by the class ProxyAndRecordSettings in version 2.x.x")]
|
||||||
public interface IProxyAndRecordSettings
|
public interface IProxyAndRecordSettings
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user