Completato fix SPEC, ok x MON, altri da verificare/sistemare
This commit is contained in:
@@ -11,6 +11,16 @@ namespace MP.AppAuth.Controllers
|
||||
{
|
||||
public class AppUserController : IDisposable
|
||||
{
|
||||
#region Private Fields
|
||||
|
||||
private readonly IConfiguration _configuration;
|
||||
|
||||
private static Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
private bool _disposed = false;
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Constructors
|
||||
|
||||
public AppUserController(IConfiguration configuration)
|
||||
@@ -19,7 +29,7 @@ namespace MP.AppAuth.Controllers
|
||||
Log.Info("Avviata classe AppUserController");
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
@@ -42,18 +52,28 @@ namespace MP.AppAuth.Controllers
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Private Fields
|
||||
#region Protected Methods
|
||||
|
||||
private static IConfiguration _configuration = null!;
|
||||
private static Logger Log = LogManager.GetCurrentClassLogger();
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
if (!_disposed)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
// Free managed resources here
|
||||
}
|
||||
_disposed = true;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Fields
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user