/source/app/NOS.Registration/DefaultFileReader.cs

http://github.com/agross/netopenspace · C# · 14 lines · 12 code · 2 blank · 0 comment · 0 complexity · ebffda0aa3757e5e4b9333330c0672e4 MD5 · raw file

  1. using ScrewTurn.Wiki;
  2. namespace NOS.Registration
  3. {
  4. internal class DefaultFileReader : IFileReader
  5. {
  6. public string Read(string path)
  7. {
  8. var provider = Collectors.SettingsProvider;
  9. return provider.GetPluginConfiguration(path);
  10. }
  11. }
  12. }