1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00
cs2j/CSharpTranslator/src/Nini/Config/IConfigSource.cs
2013-03-18 16:46:18 +01:00

55 lines
1.9 KiB
C#

#region Copyright
//
// Nini Configuration Project.
// Copyright (C) 2006 Brent R. Matzelle. 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="AutoSave"]/docs/*' />
bool AutoSave { get; set; }
/// <include file='IConfigSource.xml' path='//Property[@name="Alias"]/docs/*' />
AliasText Alias { get; }
/// <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="Reload"]/docs/*' />
void Reload ();
/// <include file='IConfigSource.xml' path='//Method[@name="AddConfig"]/docs/*' />
IConfig AddConfig (string name);
/// <include file='IConfigSource.xml' path='//Method[@name="GetExpanded"]/docs/*' />
string GetExpanded (IConfig config, string key);
/// <include file='IConfigSource.xml' path='//Method[@name="ExpandKeyValues"]/docs/*' />
void ExpandKeyValues ();
/// <include file='IConfigSource.xml' path='//Method[@name="ReplaceKeyValues"]/docs/*' />
void ReplaceKeyValues ();
/// <include file='IConfigSource.xml' path='//Event[@name="Reloaded"]/docs/*' />
event EventHandler Reloaded;
/// <include file='IConfigSource.xml' path='//Event[@name="Saved"]/docs/*' />
event EventHandler Saved;
}
}