46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
using Sarand.PatientMgr.Core.App;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Sarand.PatientMgr.Win.Forms.App
|
|
{
|
|
//=======================================================================
|
|
/// <summary>
|
|
/// PatientMgr global properties for desktop/console applications.
|
|
/// </summary>
|
|
public class SpmSessionProfile_Win : SpmSessionProfile
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// User context.
|
|
private class SpmUserContext_Win : SpmUserContext
|
|
{
|
|
public SpmUserContext_Win (SpmSessionContext sessionContext) :
|
|
base(sessionContext)
|
|
{
|
|
}
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
private readonly SpmUserContext_Win userContext;
|
|
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
protected SpmSessionProfile_Win (SpmSessionContext sessionContext)
|
|
{
|
|
userContext = new SpmUserContext_Win(sessionContext);
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// User context.
|
|
public SpmSessionContext SessionContext { get { return userContext.SessionContext; } }
|
|
public SpmUserContext UserContext { get { return userContext; } }
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|