using Sarand.Net.Standard.Base.Core;
using Saxonite.Net.Standard.Base.App;
using Saxonite.Net.Standard.Base.Bus;
using System;
using System.Collections.Generic;
using System.Text;
namespace Saxonite.Net.Standard.Base.Consoles
{
//=======================================================================
public abstract class SaxDataCacheConsole : SacsDisposable
{
//-------------------------------------------------------------------
// Protected construction.
protected SaxDataCacheConsole(SaxSessionContext sessionContext)
{
SessionContext = sessionContext;
}
protected override void Dispose(bool disposing) { }
//-------------------------------------------------------------------
// Properties.
protected SaxSessionContext SessionContext { get; }
//-------------------------------------------------------------------
// Utilities.
public abstract void PopulateCachedDataToInternals(SaxInternals internals);
//-------------------------------------------------------------------
// Regions.
///
/// Get the cached list of regions. NB These should be disposed after use.
///
public abstract List GetActiveRegions();
//-------------------------------------------------------------------
// Sports.
///
/// Get the cached list of sports. NB These should be disposed after use.
///
public abstract List GetActiveSports();
//-------------------------------------------------------------------
}
//=======================================================================
}