• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class RequestPropertyAccess

Replaces tokens related to the current http request.

Inheritance
System.Object
RequestPropertyAccess
Implements
IPropertyAccess
Namespace: DotNetNuke.UI.Modules.Html5
Assembly: DotNetNuke.dll
Syntax
public class RequestPropertyAccess : object, IPropertyAccess

Constructors

| Improve this Doc View Source

RequestPropertyAccess(HttpRequest)

Initializes a new instance of the RequestPropertyAccess class.

Declaration
public RequestPropertyAccess(HttpRequest request)
Parameters
Type Name Description
HttpRequest request

The current http request.

Properties

| Improve this Doc View Source

Cacheability

Gets the cache level for property access.

Declaration
public virtual CacheLevel Cacheability { get; }
Property Value
Type Description
CacheLevel

Methods

| Improve this Doc View Source

GetProperty(String, String, CultureInfo, UserInfo, Scope, ref Boolean)

Gets a property.

Declaration
public string GetProperty(string propertyName, string format, CultureInfo formatProvider, UserInfo accessingUser, Scope accessLevel, ref bool propertyNotFound)
Parameters
Type Name Description
System.String propertyName

The property name to get.

System.String format

The format string to format the property with, or null to use the default format.

CultureInfo formatProvider

The format provider (e.g. ) to use.

UserInfo accessingUser

The user this property belongs to, UserInfo.

Scope accessLevel

The Scope of the access level for this property.

System.Boolean propertyNotFound

An out parameter that indicates if the property was not found.

Returns
Type Description
System.String

A string with the value of the property.

Implements

IPropertyAccess

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS