Importing Nini's .ini file parsing into ExtensionLoader

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2318 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-10-29 20:38:51 +00:00
parent 3243e3153d
commit d841ffce8d
34 changed files with 7194 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
#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 ExtensionLoader.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;
}
}