Files
PatientMgr-CSharp/SaPatMgrCore/Core/App/SpmGlobals.cs
T
2019-04-09 16:34:59 +01:00

38 lines
1.1 KiB
C#

using Sarand.Core.CodeTypes;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sarand.PatientMgr.Core.App
{
//=======================================================================
public static class SpmGlobals
{
//-------------------------------------------------------------------
// System.
public static SpmSystem System { get; set; } = null;
//-------------------------------------------------------------------
// Application.
public static SpmApplication Application { get; set; }
//-------------------------------------------------------------------
// Consoles.
public static SaCodeTypeConsole GetCodeTypeConsole (SpmUserContext userContext)
{
return Application.GetCodeTypeConsole(userContext);
}
//-------------------------------------------------------------------
// Clear globals.
public static void clear ()
{
System = null;
Application = null;
}
//-------------------------------------------------------------------
}
//=======================================================================
}