/source/app/NOS.Registration/DefaultFileWriter.cs

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

  1. using ScrewTurn.Wiki;
  2. namespace NOS.Registration
  3. {
  4. internal class DefaultFileWriter : IFileWriter
  5. {
  6. public void Write(string path, string content)
  7. {
  8. var provider = Collectors.SettingsProvider;
  9. provider.SetPluginConfiguration(path, content);
  10. }
  11. }
  12. }