mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Removed a leftover property and added a method in the IniConfig to get a section by name
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1765 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
fc0d32a82f
commit
0d0c0a5f45
2 changed files with 13 additions and 3 deletions
|
@ -260,6 +260,18 @@ namespace Greenshot.IniFile {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Method used for internal tricks...
|
||||
/// </summary>
|
||||
/// <param name="sectionName"></param>
|
||||
/// <returns></returns>
|
||||
public static IniSection GetIniSection(string sectionName) {
|
||||
if (sectionMap.ContainsKey(sectionName)) {
|
||||
return sectionMap[sectionName];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// A generic method which returns an instance of the supplied type, filled with it's configuration
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue