using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ips.Sps.Store { public sealed class Stores { public readonly static Stores It = new Stores(); private Stores() { } public SynchronizationContext SyncContext { get; private set; } public PesStore PesStore { get; private set; } public PasStore PasStore { get; private set; } public void Init(SynchronizationContext context) { SyncContext = context; PesStore = new PesStore(context); PasStore = new PasStore(context); } } }