39 lines
1.2 KiB
C#
39 lines
1.2 KiB
C#
using Sarand.Net.Standard.Base.Bus;
|
|
using Saxonite.Net.Standard.Base.App;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Saxonite.Net.Standard.Base.Consoles
|
|
{
|
|
//=======================================================================
|
|
public class SaxProcessConsole : SaErrorStateItem
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
private SaxInternals internals = null;
|
|
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
protected SaxProcessConsole(SaxSessionContext sessionContext)
|
|
{
|
|
SessionContext = sessionContext;
|
|
}
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing)
|
|
{
|
|
if (internals != null) internals.Dispose(); internals = null;
|
|
}
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Properties.
|
|
protected SaxSessionContext SessionContext { get; }
|
|
protected SaxInternals Internals { get { if (internals == null) internals = new SaxInternals(SessionContext); return internals; } }
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|