-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathIIni.cs
More file actions
33 lines (21 loc) · 1.04 KB
/
Copy pathIIni.cs
File metadata and controls
33 lines (21 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.Collections.Generic;
namespace Gsemac.Text.Ini {
public interface IIni :
IEnumerable<IIniSection> {
IIniSection this[string sectionName] { get; }
IIniSection Global { get; }
IIniSectionCollection Sections { get; }
string GetValue(string propertyName);
string GetValue(string sectionName, string propertyName);
T GetValue<T>(string propertyName);
T GetValue<T>(string sectionName, string propertyName);
bool TryGetValue(string propertyName, out string value);
bool TryGetValue(string sectionName, string propertyName, out string value);
bool TryGetValue<T>(string propertyName, out T value);
bool TryGetValue<T>(string sectionName, string propertyName, out T value);
void SetValue(string propertyName, string value);
void SetValue(string sectionName, string propertyName, string value);
void SetValue<T>(string propertyName, T value);
void SetValue<T>(string sectionName, string propertyName, T value);
}
}