The RequestContext type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
RequestContext |
Methods
Name | Description | |
---|---|---|
ClearCachedUrlValues |
Clears the cached values related to URL of the request
| |
CloneForNewThread |
Clones the object for new thread
(Inherited from AbstractContext TContext .) | |
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 AbstractHierarchicalObject ObjectType .) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .) | |
EnsureSourceItems |
Ensures the context source items to be always distributed to thread in async mode
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject ObjectType .) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RegisterColumn(String, Func ParentObjectType, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterProperties |
Registers the properties of this object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisterProperty(String, Func ObjectType, Object ) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisterProperty(String, Object, Func ObjectType, Object, Object ) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetProperty(String, Object ) |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
TryGetProperty(String, Object , Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
Extension Methods
Name | Description | |
---|---|---|
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.) |
Properties
Name | Description | |
---|---|---|
ClientApplication |
Dictionary to be used to collect data from server for client application.
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .) | |
CurrentDomain |
Returns current URL domain, without trailing slashes.
| |
CurrentExcludedStatus |
Returns current excluded status of the request path
| |
CurrentPort |
Returns the current request URL port.
| |
CurrentQueryString |
Returns the current request URL query string.
| |
CurrentRelativePath |
Current page relative path. e.g. "~/Home.aspx" has relative path "/Home.aspx"
| |
CurrentScheme |
Returns the current request URL scheme.
| |
CurrentStatus |
Returns current request URL rewriting status.
| |
CurrentURL |
Returns the current request URL.
| |
CurrentUrlExtension |
Returns extension (part after last dot) contained in current URL.
Extension starting with . (.ext) or empty extension if there is no extension is returned.
| |
CurrentURLLangPrefix |
Gets or sets the value that contains current language prefix for current URL.
| |
CurrentURLPathPrefix |
Gets or sets the value that contains current path prefix for current URL.
| |
FullDomain |
Returns current URL domain with port if exist.
| |
IsDefault |
Returns true if the context is the default request context
(Inherited from RequestContainer TParent .) | |
IsSSL |
Indicates whether current request is SSL request.
| |
IsUserAuthenticated |
Returns true, if the user is authenticated
| |
Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObject ObjectType .) | |
LogCurrentError |
If true (default), the current application error should be logged
| |
LogPageHit |
Indicates if page hit should be logged.
| |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RawURL |
Current request RawUrl.
| |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
ServerHostAddress |
Gets or sets server host address.
| |
URL |
Gets information about URL of current request.
| |
URLReferrer |
Returns URL referrer or empty string if HttPContext is not initialized.
| |
UseGZip |
If true, the filter uses GZip compression on output.
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .) | |
UseNoCacheForRedirect |
Indicates whether current redirect should add no-cache directive to the response header
| |
UserAgent |
Returns user agent or empty string if HttPContext is not initialized.
| |
UserHostAddress |
Gets or sets user host address. Returns empty string if HttpContext is not initialized and other value is not set.
| |
UserName |
Gets user name or empty string if HttpContext is not initialized. The user name is in the exact format in which the user is authenticated (may not be safe name).
| |
UserUniqueIdentifier |
Gets the unique identifier for the user - Session ID. If Session ID is missing, UserHostAddress is used.
|
See Also