| FormContext Class |
[This is preliminary documentation and is subject to change.]
Namespace: CSC.SC.TOPICA4.Template
public class FormContext : ComputationContext
The FormContext type exposes the following members.
| Name | Description | |
|---|---|---|
| AddPreProcessedValues |
Add XML output from whatever pre processes have been run
| |
| Bool | Obsolete. (Inherited from ComputationContext.) | |
| CheckGlobalFunction |
Check if name is a global name (constant, enumeration value, function)
(Overrides ComputationContext.CheckGlobalFunction(String).) | |
| ClearVariables | (Inherited from ComputationContext.) | |
| ContainsKey | (Inherited from ComputationContext.) | |
| CurrentUserHasPermission |
Checks if current user has permissionType | |
| DebugPrint | (Inherited from ComputationContext.) | |
| Define | (Inherited from ComputationContext.) | |
| DefineExpression | (Inherited from ComputationContext.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| EvaluateGlobalFunction |
Evaluate global function
(Overrides ComputationContext.EvaluateGlobalFunction(Expression).) | |
| EvaluateString | (Inherited from ComputationContext.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetBool(String) | (Inherited from ComputationContext.) | |
| GetBool(String, Boolean) | (Inherited from ComputationContext.) | |
| GetDataOwner |
Returns DataOwner
| |
| GetDataSet | (Inherited from ComputationContext.) | |
| GetDateTime(String) | (Inherited from ComputationContext.) | |
| GetDateTime(String, DateTime) | (Inherited from ComputationContext.) | |
| GetEvaluatableObject |
Get evaluatable object by name
(Overrides ComputationContext.GetEvaluatableObject(String).) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetInt(String) | (Inherited from ComputationContext.) | |
| GetInt(String, Int32) | (Inherited from ComputationContext.) | |
| GetInt2 | Obsolete. (Inherited from ComputationContext.) | |
| GetLocalizedText(String) |
Get localizwed text - key value is also default
| |
| GetLocalizedText(String, String) |
Get localized text - with specifed default value
| |
| GetSettingsdictinary |
Get Settings dictionary
| |
| GetStateMachine | (Inherited from ComputationContext.) | |
| GetString(String) | (Inherited from ComputationContext.) | |
| GetString(String, String) | (Inherited from ComputationContext.) | |
| GetText |
Get text from configuration or resource.
Priority:
1 configuration
2 resource
3 default value
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetValue | (Inherited from ComputationContext.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReplaceComputation(String) | (Inherited from ComputationContext.) | |
| ReplaceComputation(String, Char, Char) | (Inherited from ComputationContext.) | |
| ResolveUrl |
Resolve relative URL - examples:
Configuration/config/MyForm.aspx
~/Configuration/config/MyForm.aspx
#/MyForm.aspx
| |
| SetPreProcessedValues | ||
| SetSettingsdictionary |
Set settings dictionary
| |
| SetStateMachine | (Inherited from ComputationContext.) | |
| Text |
Get text (localized) - declared "new" to hide the inherited (should have been virtual...)
| |
| ToString |
Convert to string
(Overrides ComputationContext.ToString.) |
| Name | Description | |
|---|---|---|
| ArrayTableRow |
Get/set ArrayTableRow
| |
| CommonParameters |
Get CommonParameters
| |
| Copying |
Are we performing a copy of an existing form/record
| |
| CultureInfo | (Inherited from ComputationContext.) | |
| CurrentUser | Obsolete.
Get current user
| |
| Database | (Inherited from ComputationContext.) | |
| DataDictionary |
Get DataDictionary
| |
| DataDictionaryTable |
Get/set DataDictionaryTable
| |
| DataOwners |
Get set possible data owners
| |
| DateTimeConverter |
Get a DateTimeConverter
| |
| DebugMode |
Get DebugMode
| |
| DebugOutputEvaluateString | (Inherited from ComputationContext.) | |
| Dictionary | Obsolete. (Inherited from ComputationContext.) | |
| Employee |
Returns employee
| |
| EmployeeUser |
Get Employee user
| |
| Experimenting |
Get Experimenting status (used to test new/alternative code)
| |
| FocusedElementId |
If null or emtpy, set foucs on first field with error/warning
If not null or empty, set focus on the coresponding field (irrespective of errors/warnings)
| |
| Form |
Get/set Form
| |
| FormItem |
Get/set FormItem
| |
| IComputationMetaData | Obsolete. (Inherited from ComputationContext.) | |
| IFormatter |
Get IFormatter
| |
| Indicator |
Get SelfEvaluationRound
| |
| OrgUnit |
The data owner of the form
| |
| OrgUnitTypeCollection |
Get OrgUnitTypeCollection
| |
| Page |
Get Page
| |
| ParentRecord |
Get parent record
| |
| Patient |
Get current patient
| |
| PatientUser |
Get Patient user
| |
| PhysicalTempFolderUploaded |
Returns PhysicalTempFolderUploaded
| |
| PreProcessValues |
Return XmlDocument with pre processed values (returned from pre processing aspx)
| |
| Printing |
Get whether the form is to be drawn for printing
| |
| Record |
Get current record
| |
| SelfEvaluationRound |
Get SelfEvaluationRound
| |
| Skin |
Get Skin
| |
| Standard |
Get Standard
| |
| StandardVersion |
Get StandardVersion
| |
| Strict | (Inherited from ComputationContext.) | |
| Values | Obsolete. (Inherited from ComputationContext.) |