mirror of
https://github.com/vknet/vk.git
synced 2026-07-19 12:53:28 +00:00
23 lines
No EOL
363 B
C#
23 lines
No EOL
363 B
C#
using System;
|
|
|
|
namespace VkNet.Infrastructure;
|
|
|
|
/// <summary>
|
|
/// An empty scope without any logic
|
|
/// </summary>
|
|
internal sealed class NullScope : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the
|
|
/// </summary>
|
|
public static NullScope Instance { get; } = new();
|
|
|
|
private NullScope()
|
|
{
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
public void Dispose()
|
|
{
|
|
}
|
|
} |