PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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