You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
917 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading;
  6. using System.Threading.Tasks;
  7. namespace IPA.Config.Stores
  8. {
  9. internal class GeneratedStore
  10. {
  11. private class Impl : IConfigStore
  12. {
  13. public WaitHandle SyncObject { get; private set; } = new AutoResetEvent(false);
  14. public ReaderWriterLockSlim WriteSyncObject => throw new NotImplementedException();
  15. public void ReadFrom(IConfigProvider provider)
  16. {
  17. throw new NotImplementedException();
  18. }
  19. public void WriteTo(IConfigProvider provider)
  20. {
  21. throw new NotImplementedException();
  22. }
  23. }
  24. public static T Create<T>() => (T)Create(typeof(T));
  25. public static IConfigStore Create(Type type)
  26. {
  27. return null;
  28. }
  29. }
  30. }