This commit is contained in:
Stef Heyenrath
2019-10-22 18:58:36 +00:00
committed by GitHub
parent 3250604b5a
commit 84ad5a927e
5 changed files with 4 additions and 7 deletions

View File

@@ -11,7 +11,6 @@ namespace WireMock.Net.StandAlone
/// <summary>
/// The StandAloneApp
/// </summary>
[Obsolete("This class will be removed in version 1.1.0")]
public static class StandAloneApp
{
/// <summary>
@@ -19,7 +18,6 @@ namespace WireMock.Net.StandAlone
/// </summary>
/// <param name="settings">The FluentMockServerSettings</param>
[PublicAPI]
[Obsolete("Will be replaced by WireMockServer.Start(settings) in version 1.1.0")]
public static FluentMockServer Start([NotNull] IFluentMockServerSettings settings)
{
Check.NotNull(settings, nameof(settings));
@@ -37,7 +35,6 @@ namespace WireMock.Net.StandAlone
/// <param name="args">The commandline arguments</param>
/// <param name="logger">The logger</param>
[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)
{
Check.NotNull(args, nameof(args));

View File

@@ -25,7 +25,7 @@ namespace WireMock.Server
/// <summary>
/// The fluent mock server.
/// </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
{
private const int ServerStartDelayInMs = 100;

View File

@@ -10,7 +10,7 @@ namespace WireMock.Settings
/// <summary>
/// FluentMockServerSettings
/// </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
{
/// <inheritdoc cref="IFluentMockServerSettings.Port"/>

View File

@@ -9,7 +9,7 @@ namespace WireMock.Settings
/// <summary>
/// IFluentMockServerSettings
/// </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
{
/// <summary>

View File

@@ -7,7 +7,7 @@ namespace WireMock.Settings
/// <summary>
/// IProxyAndRecordSettings
/// </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
{
/// <summary>