Class DynamicPropertyLookup
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Inheritance
System.Object
DynamicPropertyLookup
Implements
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public class DynamicPropertyLookup : Object, IDynamicPropertyLookup
Constructors
DynamicPropertyLookup(DynamicPropertyCollection, IContentLoader)
Initializes a new instance of the DynamicPropertyLookup class.
Declaration
public DynamicPropertyLookup(DynamicPropertyCollection properties, IContentLoader contentLoader)
Parameters
| Type | Name | Description |
|---|---|---|
| DynamicPropertyCollection | properties | The dynamic properties defined for this site. |
| IContentLoader | contentLoader | The content loader to use |
Methods
FindDynamicProperty(String, PropertyDataCollection)
Finds the dynamic property.
Declaration
public PropertyData FindDynamicProperty(string name, PropertyDataCollection properties)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The name of the property. |
| PropertyDataCollection | properties | The properties of the page that requests the dynamic property value. |
Returns
| Type | Description |
|---|---|
| PropertyData | A PropertyData with the dynamic property information, or null if not found. |