Class PropertyResolver
Component that locates a Property
Inheritance
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public abstract class PropertyResolver : Object
Constructors
PropertyResolver()
Declaration
protected PropertyResolver()
Fields
DefaultScopeNameSeparator
The character '.'
Declaration
public static readonly char DefaultScopeNameSeparator
Field Value
Type | Description |
---|---|
System. |
Methods
ResolveProperty(PropertyDataCollection, String)
Resolves the Property
Declaration
public PropertyData ResolveProperty(PropertyDataCollection properties, string scopeName)
Parameters
Type | Name | Description |
---|---|---|
Property |
properties | The properties. |
System. |
scopeName | Name of the scope. |
Returns
Type | Description |
---|---|
Property |
ResolveProperty(PropertyDataCollection, String, Char)
Resolves the Property
Declaration
public PropertyData ResolveProperty(PropertyDataCollection properties, string scopeName, char scopeNameSeparator)
Parameters
Type | Name | Description |
---|---|---|
Property |
properties | The properties. |
System. |
scopeName | Name of the scope. |
System. |
scopeNameSeparator | The scope name separator (in example above '.'). |
Returns
Type | Description |
---|---|
Property |
ResolveProperty<TPropertyData>(PropertyDataCollection, String)
Resolves the Property
Declaration
public TPropertyData ResolveProperty<TPropertyData>(PropertyDataCollection properties, string scopeName)
where TPropertyData : PropertyData
Parameters
Type | Name | Description |
---|---|---|
Property |
properties | The properties. |
System. |
scopeName | Name of the scope. |
Returns
Type | Description |
---|---|
TProperty |
Type Parameters
Name | Description |
---|---|
TPropertyData |
ResolveProperty<TPropertyData>(PropertyDataCollection, String, Char)
Resolves the Property
Declaration
public abstract TPropertyData ResolveProperty<TPropertyData>(PropertyDataCollection properties, string scopeName, char scopeNameSeparator)
where TPropertyData : PropertyData
Parameters
Type | Name | Description |
---|---|---|
Property |
properties | The properties. |
System. |
scopeName | Name of the scope. |
System. |
scopeNameSeparator | The scope name separator (in example above '.'). |
Returns
Type | Description |
---|---|
TProperty |
Type Parameters
Name | Description |
---|---|
TPropertyData | The type of the property data that should be returned. |