Class Properties
Inheritance
System.Object
Properties
Implements
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FixAntenna.Common.dll
Syntax
public sealed class Properties : IEnumerable
Constructors
Properties()
Declaration
Properties(Properties)
Declaration
public Properties(Properties defaults)
Parameters
Properties(Dictionary<String, String>)
Declaration
public Properties(Dictionary<string, string> init)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
init |
|
Properties(Stream)
Declaration
public Properties(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Methods
FromFile(String)
Declaration
public static Properties FromFile(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
GetEnumerator()
Declaration
public IEnumerator GetEnumerator()
Returns
Type |
Description |
System.Collections.IEnumerator |
|
GetNotEmptyIntegerProperty(String)
Declaration
public int? GetNotEmptyIntegerProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Nullable<System.Int32> |
|
GetNotEmptyProperty(String)
Declaration
public string GetNotEmptyProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
GetProperty(String)
Declaration
public string GetProperty(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.String |
|
GetProperty(String, String)
Declaration
public string GetProperty(string key, string defaultValue)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
defaultValue |
|
Returns
Type |
Description |
System.String |
|
Load(Stream)
Declaration
public void Load(Stream inStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
inStream |
|
Put(String, String)
Declaration
public void Put(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
PutAll(Properties)
Declaration
public void PutAll(Properties props)
Parameters
SetProperty(String, String)
Declaration
public void SetProperty(string key, string value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.String |
value |
|
ToDictionary()
Declaration
public IDictionary<string, string> ToDictionary()
Returns
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.String> |
|
Implements
System.Collections.IEnumerable