<commit_before>#region Copyright
//
// Nini Configuration Project.
// Copyright (C) 2004 <NAME>.  All rights reserved.
//
// This software is published under the terms of the MIT X11 license, a copy of 
// which has been included with this distribution in the LICENSE.txt file.
// 
#endregion

using System;

namespace Nini.Config
{
	/// <include file='IConfigSource.xml' path='//Interface[@name="IConfigSource"]/docs/*' />
	public interface IConfigSource
	{
		/// <include file='IConfigSource.xml' path='//Property[@name="Configs"]/docs/*' />
		ConfigCollection Configs { get; }

		/// <include file='IConfigSource.xml' path='//Property[@name="IsReadOnly"]/docs/*' />
		bool IsReadOnly { get; }
		
		/// <include file='IConfigSource.xml' path='//Property[@name="AutoSave"]/docs/*' />
		bool AutoSave { get; set; }
		
		/// <include file='IConfigSource.xml' path='//Method[@name="Merge"]/docs/*' />
		void Merge (IConfigSource source);
		
		/// <include file='IConfigSource.xml' path='//Method[@name="Save"]/docs/*' />
		void Save ();
		
		/// <include file='IConfigSource.xml' path='//Method[@name="SetGlobalAlias"]/docs/*' />
		void SetGlobalAlias (AliasText alias);
		
		/// <include file='IConfigSource.xml' path='//Method[@name="AddConfig"]/docs/*' />
		IConfig AddConfig (string name);
	}
}<commit_msg>Save (path): Saves a file to a path on the machine. Save (TextWriter): Saves a file to a TextWriter.<commit_after>#region Copyright
//
// Nini Configuration Project.
// Copyright (C) 2004 <NAME>.  All rights reserved.
//
// This software is published under the terms of the MIT X11 license, a copy of 
// which has been included with this distribution in the LICENSE.txt file.
// 
#endregion

using System;
using System.IO;

namespace Nini.Config
{
	/// <include file='IConfigSource.xml' path='//Interface[@name="IConfigSource"]/docs/*' />
	public interface IConfigSource
	{
		/// <include file='IConfigSource.xml' path='//Property[@name="Configs"]/docs/*' />
		ConfigCollection Configs { get; }

		/// <include file='IConfigSource.xml' path='//Property[@name="IsReadOnly"]/docs/*' />
		bool IsReadOnly { get; }
		
		/// <include file='IConfigSource.xml' path='//Property[@name="AutoSave"]/docs/*' />
		bool AutoSave { get; set; }
		
		/// <include file='IConfigSource.xml' path='//Method[@name="Merge"]/docs/*' />
		void Merge (IConfigSource source);
		
		/// <include file='IConfigSource.xml' path='//Method[@name="Save"]/docs/*' />
		void Save ();
		
		/// <include file='IConfigSource.xml' path='//Method[@name="SavePath"]/docs/*' />
		void Save (string path);
		
		/// <include file='IConfigSource.xml' path='//Method[@name="SaveTextWriter"]/docs/*' />
		void Save (TextWriter writer);
		
		/// <include file='IConfigSource.xml' path='//Method[@name="SetGlobalAlias"]/docs/*' />
		void SetGlobalAlias (AliasText alias);
		
		/// <include file='IConfigSource.xml' path='//Method[@name="AddConfig"]/docs/*' />
		IConfig AddConfig (string name);
	}
}
{'fraction_non_alphanumeric': 0.18986486486486487, 'fraction_numerical': 0.004054054054054054, 'mean_word_length': 3.79126213592233, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 18}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4313825', 'n_tokens_mistral': 986, 'n_tokens_neox': 910, 'n_words': 222}