1
0
Files
common/AMWD.Common/Logging/NullScope.cs
Andreas Mueller 9d7becbdaf Added FileLogger to collection, some CI changes
- Building within one container
- Updated UnitTest references
- Extending DebugLocal
2023-03-18 12:36:21 +01:00

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()
{
}
}
}