StoreBase.cs 453 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Ips.Library.DxpLib
  7. {
  8. public abstract class StoreBase
  9. {
  10. public StoreBase(SynchronizationContext context)
  11. {
  12. _context = context;
  13. }
  14. private SynchronizationContext _context;
  15. public SynchronizationContext Context => _context ?? SynchronizationContext.Current;
  16. }
  17. }