Show / Hide Table of Contents

Class PropertyAccess

Inheritance
object
PropertyAccess
Implements
IPropertyAccess
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DotNetNuke.Services.Tokens
Assembly: DotNetNuke.dll
Syntax
public class PropertyAccess : IPropertyAccess

Constructors

PropertyAccess(object)

Declaration
public PropertyAccess(object tokenSource)
Parameters
Type Name Description
object tokenSource

Properties

Cacheability

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

ContentLocked

Declaration
public static string ContentLocked { get; }
Property Value
Type Description
string

Methods

Boolean2LocalizedYesNo(bool, CultureInfo)

Declaration
public static string Boolean2LocalizedYesNo(bool value, CultureInfo formatProvider)
Parameters
Type Name Description
bool value
CultureInfo formatProvider
Returns
Type Description
string

FormatString(string, string)

Declaration
public static string FormatString(string value, string format)
Parameters
Type Name Description
string value
string format
Returns
Type Description
string

GetObjectProperty(object, string, string, CultureInfo, ref bool)

Declaration
public static string GetObjectProperty(object objObject, string strPropertyName, string strFormat, CultureInfo formatProvider, ref bool propertyNotFound)
Parameters
Type Name Description
object objObject
string strPropertyName
string strFormat
CultureInfo formatProvider
bool propertyNotFound
Returns
Type Description
string

GetProperty(string, string, CultureInfo, UserInfo, Scope, ref bool)

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

Implements

IPropertyAccess

Extension Methods

JsonExtensionsWeb.ToJson(object)
Back to top by the community, for the community... #DNNCMS