Updated to .NET 7.0 and added Jenkinsfile.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
|
||||
namespace GameServiceWarden.Core.Tests.Collection
|
||||
{
|
||||
public class FakeDisposable : IDisposable
|
||||
{
|
||||
private string value;
|
||||
private bool disposedValue;
|
||||
|
||||
public FakeDisposable(string value)
|
||||
{
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public bool IsDisposed() {
|
||||
return disposedValue;
|
||||
}
|
||||
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!disposedValue)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
}
|
||||
disposedValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(disposing: true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user