Class DefaultPropertySettingsResolver
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inherited Members
Namespace: EPiServer.Core.PropertySettings.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(PropertySettingsResolver))]
public class DefaultPropertySettingsResolver : PropertySettingsResolver
Constructors
DefaultPropertySettingsResolver(ContentTypeModelRepository, IPropertySettingsRepository, IPropertyDefinitionRepository, IContentTypeRepository)
Declaration
public DefaultPropertySettingsResolver(ContentTypeModelRepository modelRepo, IPropertySettingsRepository propertySettingsRepository, IPropertyDefinitionRepository propertyDefinitionRepository, IContentTypeRepository contentTypeRepository)
Parameters
Type | Name | Description |
---|---|---|
ContentTypeModelRepository | modelRepo | |
IPropertySettingsRepository | propertySettingsRepository | |
IPropertyDefinitionRepository | propertyDefinitionRepository | |
IContentTypeRepository | contentTypeRepository |
Methods
GetSettings(Type, Int32)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Resolve settings for a property definition.
Declaration
public virtual IPropertySettings GetSettings(Type settingsType, int propertyDefinitionId)
Parameters
Type | Name | Description |
---|---|---|
System.Type | settingsType | The type of settings. |
System.Int32 | propertyDefinitionId | The property definition to read settings for. |
Returns
Type | Description |
---|---|
IPropertySettings | The settings or |
GetSettings(Type, Type, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public override IPropertySettings GetSettings(Type settingsType, Type modelType, string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | settingsType | The type of settings |
System.Type | modelType | The content type to read from the settings for |
System.String | propertyName | The property name to read settings for |
Returns
Type | Description |
---|---|
IPropertySettings | The settings or |
Overrides
GetSettingsWrapper(Guid, Type, PropertySettingsAttribute)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the property setting wrapper for a given property and the attributes defined on the property.
Declaration
public virtual PropertySettingsWrapper GetSettingsWrapper(Guid settingsID, Type settingsType, PropertySettingsAttribute propertySettingsAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | settingsID | The settings identifier. |
System.Type | settingsType | Type of the settings. |
PropertySettingsAttribute | propertySettingsAttribute | The property settings attribute. |
Returns
Type | Description |
---|---|
PropertySettingsWrapper | The PropertySettingsWrapper for a given type and model property. |