Class PropertiesBase
Inheritance
System.Object
PropertiesBase
Assembly: Cosmos.Build.Common.dll
Syntax
public abstract class PropertiesBase : object
Fields
|
Improve this Doc
View Source
mPropTable
Declaration
protected Dictionary<string, string> mPropTable
Field Value
Type |
Description |
Dictionary<System.String, System.String> |
|
Properties
|
Improve this Doc
View Source
IsDirty
Declaration
public bool IsDirty { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ProjectIndependentProperties
Gets array of project names which are project independent.
Declaration
public abstract string[] ProjectIndependentProperties { get; }
Property Value
Type |
Description |
System.String[] |
|
Methods
|
Improve this Doc
View Source
GetProperties()
Declaration
public Dictionary<string, string> GetProperties()
Returns
Type |
Description |
Dictionary<System.String, System.String> |
|
|
Improve this Doc
View Source
GetProperty(String)
Declaration
public string GetProperty(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetProperty(String, String)
Get string value of the property.
Declaration
public string GetProperty(string name, string default)
Parameters
Type |
Name |
Description |
System.String |
name |
Name of the property.
|
System.String |
default |
Default value for the property.
|
Returns
Type |
Description |
System.String |
Vaue of the property with given name.
|
|
Improve this Doc
View Source
GetProperty<T>(String, T)
Gets typed value of the property.
Declaration
public T GetProperty<T>(string name, T default)
where T : struct
Parameters
Type |
Name |
Description |
System.String |
name |
Get name of the property.
|
T |
default |
Default value for the proeprty.
|
Returns
Type |
Description |
T |
Value of the property with given name.
|
Type Parameters
Name |
Description |
T |
Get property type.
|
|
Improve this Doc
View Source
Reset()
Declaration
|
Improve this Doc
View Source
SetProperty(String, Object)
Declaration
public void SetProperty(string name, object value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Object |
value |
|
|
Improve this Doc
View Source
SetProperty(String, String)
Declaration
public void SetProperty(string name, string value)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
Events
|
Improve this Doc
View Source
PropertyChanged
Declaration
public event EventHandler<PropertyChangedEventArgs> PropertyChanged
Event Type
|
Improve this Doc
View Source
PropertyChanging
Declaration
public event EventHandler<PropertyChangingEventArgs> PropertyChanging
Event Type