Classes | |
| class | Criteria |
| A very simple wrapper around Project Server's graphical indicator. More... | |
Public Types | |
| enum | CriteriaFor { None, NonSummaryRows, ProjectSummary, Summary } |
Public Member Functions | |
| GraphicalIndicator (Guid entityGuid, CustomFieldDefinition customField, CustomField.Type customFieldType) | |
| Create an instance of GraphicalIndicator. | |
| void | AddCriteria (CriteriaFor criteriaFor, Criteria criteria) |
| Add criteria to a specific type (Non Summary Rows,Project Summary, and Summary). | |
| Criteria | GetCriteria (CriteriaFor criteriaFor, int index) |
| Retrieve the criteria for the given type at the given index. | |
| string | GetCriteriaString (CriteriaFor criteriaFor) |
| Returns the criteria string for the specified criteria type. | |
| int | GetCount (CriteriaFor criteriaFor) |
| Given a specific criteria type, return the count of criteria. | |
| void | ClearCriteria (CriteriaFor criteriaFor) |
| Given a specific criteria type, clear its criteria. | |
| Stack | ParseCriteriaString (string criteriaString) |
| Parses the criteria string. | |
Static Public Member Functions | |
| static string | GetDisplayName (string testString) |
| Given a specific test string (for example '==' or '!='), return its display name (equals or does not equal). | |
Static Public Attributes | |
| static readonly int | MAX_NUMBER_OF_CRITERIA = 3 |
| static readonly int | MAX_IMAGE_INDEX = 65 |
Properties | |
| string[] | TestsDisplayNames [get] |
| Retrieve an error of the tests' display names. | |
| Guid | EntityGuid [get, set] |
| Retrieve and privately set the Graphical Indicator's underlying entity GUID. | |
| CustomField.Type | CustomFieldType [get, set] |
| Retrieve and privately set the CustomField type. | |
| int | ProjectSummaryCriteriaCount [get] |
| Retrieve the count of Project Summary criteria. | |
| int | SummaryCriteriaCount [get] |
| Retrieve the count of Summary criteria. | |
| int | NonSummaryCriteriaCount [get] |
| Retrieve the count of Non Summary criteria. | |
Definition at line 25 of file GraphicalIndicator.cs.
| Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.GraphicalIndicator | ( | Guid | entityGuid, | |
| CustomFieldDefinition | customField, | |||
| CustomField.Type | customFieldType | |||
| ) |
Create an instance of GraphicalIndicator.
| entityGuid | The GUID of the entity (Project, Task, Resource) | |
| customField | The CustomField definition of the field for which the Graphical Indicator will be associated with | |
| customFieldType | The custom field type (Cost, Date, Duration, Flag, Number, and Text |
Definition at line 63 of file GraphicalIndicator.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.AddCriteria | ( | CriteriaFor | criteriaFor, | |
| Criteria | criteria | |||
| ) |
Add criteria to a specific type (Non Summary Rows,Project Summary, and Summary).
| criteriaFor | Designates which criteria collection the criteria will be added to | |
| criteria | The criteria to add |
Definition at line 100 of file GraphicalIndicator.cs.
| void Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.ClearCriteria | ( | CriteriaFor | criteriaFor | ) |
Given a specific criteria type, clear its criteria.
| criteriaFor | The criteria type to clear |
Definition at line 234 of file GraphicalIndicator.cs.
| int Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.GetCount | ( | CriteriaFor | criteriaFor | ) |
Given a specific criteria type, return the count of criteria.
| criteriaFor | The criteria type |
Definition at line 215 of file GraphicalIndicator.cs.
| Criteria Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.GetCriteria | ( | CriteriaFor | criteriaFor, | |
| int | index | |||
| ) |
Retrieve the criteria for the given type at the given index.
| criteriaFor | Designates which criteria collection to retrieve from | |
| index | The index of the criteria |
Definition at line 157 of file GraphicalIndicator.cs.
| string Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.GetCriteriaString | ( | CriteriaFor | criteriaFor | ) |
Returns the criteria string for the specified criteria type.
| criteriaFor | Designates which criteria should be render as the return string |
Definition at line 178 of file GraphicalIndicator.cs.
| static string Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.GetDisplayName | ( | string | testString | ) | [static] |
Given a specific test string (for example '==' or '!='), return its display name (equals or does not equal).
| testString | The test string to look up |
Definition at line 317 of file GraphicalIndicator.cs.
| Stack Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.ParseCriteriaString | ( | string | criteriaString | ) |
Parses the criteria string.
| criteriaString |
Definition at line 259 of file GraphicalIndicator.cs.
CustomField.Type Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.CustomFieldType [get, set] |
Retrieve and privately set the CustomField type.
Definition at line 357 of file GraphicalIndicator.cs.
Guid Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.EntityGuid [get, set] |
Retrieve and privately set the Graphical Indicator's underlying entity GUID.
Definition at line 352 of file GraphicalIndicator.cs.
int Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.NonSummaryCriteriaCount [get] |
int Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.ProjectSummaryCriteriaCount [get] |
Retrieve the count of Project Summary criteria.
Definition at line 363 of file GraphicalIndicator.cs.
int Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.SummaryCriteriaCount [get] |
string [] Mcs.Epm.MicrosoftProject.mpFx.GraphicalIndicator.TestsDisplayNames [get] |
Retrieve an error of the tests' display names.
Definition at line 338 of file GraphicalIndicator.cs.
1.5.8