Class DictionaryPropertyAccess
Implements
Namespace: DotNetNuke.Services.Tokens
Assembly: DotNetNuke.dll
Syntax
public class DictionaryPropertyAccess : object, IPropertyAccess
Constructors
| Improve this Doc View SourceDictionaryPropertyAccess(IDictionary)
Initializes a new instance of the DictionaryPropertyAccess class.
Declaration
public DictionaryPropertyAccess(IDictionary list)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionary | list |
Properties
| Improve this Doc View SourceCacheability
Gets the cache level for property access.
Declaration
public CacheLevel Cacheability { get; }
Property Value
| Type | Description |
|---|---|
| CacheLevel |
Methods
| Improve this Doc View SourceGetProperty(String, String, CultureInfo, UserInfo, Scope, ref Boolean)
Gets a property.
Declaration
public virtual 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 |
| CultureInfo | formatProvider | The format provider (e.g. |
| 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. |