Class DynamicPropertyLookup

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
DynamicPropertyLookup
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class DynamicPropertyLookup : IDynamicPropertyLookup

Constructors

DynamicPropertyLookup(DynamicPropertyCollection)

Initializes a new instance of the DynamicPropertyLookup class.

Declaration
[Obsolete("Use alternative constructor")]
public DynamicPropertyLookup(DynamicPropertyCollection properties)
Parameters
Type Name Description
DynamicPropertyCollection properties

The dynamic properties defined for this site.

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.

Implements

Extension Methods