- Building within one container - Updated UnitTest references - Extending DebugLocal
26 lines
484 B
C#
26 lines
484 B
C#
using System;
|
|
|
|
namespace AMWD.Common.Logging
|
|
{
|
|
/// <summary>
|
|
/// An empty scope without any logic.
|
|
/// </summary>
|
|
[System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage]
|
|
internal class NullScope : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// The <see cref="NullScope"/> instance to use.
|
|
/// </summary>
|
|
public static NullScope Instance { get; } = new NullScope();
|
|
|
|
private NullScope()
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public void Dispose()
|
|
{
|
|
}
|
|
}
|
|
}
|