SystemContext Class |
Namespace: CMS.Base
public class SystemContext : AbstractContext<SystemContext>
The SystemContext type exposes the following members.
Name | Description | |
---|---|---|
SystemContext |
Name | Description | |
---|---|---|
ClearCurrent |
Clears the current context value
(Inherited from ContextContainerTParent.) | |
CloneForNewThread |
Clones the object for new thread
(Inherited from AbstractContextTContext.) | |
CombineWith |
Combines current instance with other properties (modifies current instace!).
List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObjectTObject.) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.) | |
GenerateUniqueInstanceName |
Gets the automatic server name that is using for current instance
| |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterColumn(String, FuncTObject, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisterProperties |
Registers the properties of this object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, FuncTObject, Object) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisterProperty(String, Object, FuncTObject, Object, Object) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetAsCurrent |
Sets the current instance as the current thread item
(Inherited from ContextContainerTParent.) | |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.) | |
TryGetProperty(String, Object) |
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetProperty(String, Object, Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.) |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
EnglishCulture |
English culture.
| |
IsAssemblyDebug |
True if the assemblies are compiled in debug mode.
| |
IsWebProjectDebug |
True if web project is compiled in debug mode.
|
Name | Description | |
---|---|---|
ApplicationPath |
Web application path (e.g. /WebProject1)
| |
ApplicationTerminating |
Returns true if the application is terminating
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainerParentObjectType.) | |
CurrentTrustLevel |
Current trust level.
| |
DevelopmentMode |
Development mode type.
| |
InstanceName |
Returns unique name of the instance, i.e. ServerName for multi-instance environments or MachineName with ApplicationPath in other cases.
| |
IsDefault |
Returns true if the context is the default request context
(Inherited from ContextContainerTParent.) | |
IsFullTrustLevel |
Indicates if is full trust level of code access security.
| |
IsIntegratedMode |
Returns true if the application runs in the integrated mode
| |
IsPrecompiledWebsite |
Returns true if the website is precompiled (checks existence of codebehind file of PortalTemplate).
| |
IsRunningOnAzure |
Returns whether current instance running on Azure.
| |
IsWebApplicationProject |
Returns true if web application is installed (instead of web project).
| |
IsWebSite |
If true, the application is a web site/application. Must be explicitly set for web application.
| |
Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.) | |
Key |
Unique container key
(Inherited from ContextContainerTParent.) | |
MachineName |
Machine name.
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.) | |
ServerName |
Server name.
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) | |
UseWebApplicationConfiguration |
Indicates if WebApplicationPhysicalPath property should be used to initialize the configuration manager.
| |
WebApplicationPhysicalPath |
Web application physical path. Trimmed backslash '\' at the end. E.g. c:\inetpub\wwwroot\MySite
| |
WebApplicationVirtualPath |
Returns the application virtual path.
|