Core
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
}
|
||||
Reference in New Issue
Block a user