Class PropertySettingsWrapper
Wrapper class that adds common properties like Id and DisplayName for IProperty
Namespace: EPiServer.Core.PropertySettings
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[EPiServerDataTable(TableName = "tblSystemBigTable")]
public class PropertySettingsWrapper : Object
Constructors
PropertySettingsWrapper()
Initializes a new instance of the Property
Declaration
public PropertySettingsWrapper()
PropertySettingsWrapper(Guid, String, String, Boolean, Boolean, IPropertySettings)
Initializes a new instance of the Property
Declaration
public PropertySettingsWrapper(Guid id, string displayName, string description, bool isDefault, bool isGlobal, IPropertySettings propertySettings)
Parameters
Type | Name | Description |
---|---|---|
System. |
id | The id. |
System. |
displayName | The display name. |
System. |
description | The description. |
System. |
isDefault | if set to |
System. |
isGlobal | if set to |
IProperty |
propertySettings | The property settings. |
PropertySettingsWrapper(String, String, Boolean, Boolean, IPropertySettings)
Initializes a new instance of the Property
Declaration
public PropertySettingsWrapper(string displayName, string description, bool isDefault, bool isGlobal, IPropertySettings propertySettings)
Parameters
Type | Name | Description |
---|---|---|
System. |
displayName | The display name. |
System. |
description | The description. |
System. |
isDefault | if set to |
System. |
isGlobal | if set to |
IProperty |
propertySettings | The property settings. |
Properties
DefinedByCode
Indicates if this settings wrapper is defined by code or not.
Declaration
public bool DefinedByCode { get; }
Property Value
Type | Description |
---|---|
System. |
Description
Gets the description. Used in the admin UI to distinguish between global settings
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System. |
The description. |
DisplayName
Gets the display name. Used in the admin UI to distinguish between global settings
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System. |
The display name. |
Id
Gets or sets the id.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System. |
The id. |
IsDefault
Gets or sets a value indicating whether this instance is the default setting for the instances System.
Declaration
public bool IsDefault { get; set; }
Property Value
Type | Description |
---|---|
System. |
|
IsGlobal
Gets or sets a value indicating whether this instance is a global setting for the instances System.
Declaration
public bool IsGlobal { get; set; }
Property Value
Type | Description |
---|---|
System. |
|
PropertySettings
Gets or sets the actual property settings object.
Declaration
public virtual IPropertySettings PropertySettings { get; set; }
Property Value
Type | Description |
---|---|
IProperty |
The property settings. |
TypeFullName
Gets or sets the full name of the type for the actual settings.
Declaration
public string TypeFullName { get; set; }
Property Value
Type | Description |
---|---|
System. |
The full name of the type of the actual settings. |
Methods
Copy()
Copies this instance.
Declaration
public virtual PropertySettingsWrapper Copy()
Returns
Type | Description |
---|---|
Property |
A deep copy of this instance. |