Class PropertySettingsBase
Base functionality for property settings implementing clone functionality.
Implements
Namespace: EPiServer.Core.PropertySettings
Assembly: EPiServer.dll
Version: 12.0.3Syntax
public abstract class PropertySettingsBase : Object, IPropertySettings
Constructors
PropertySettingsBase()
Declaration
protected PropertySettingsBase()
Properties
Id
Gets or sets the id.
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid | The id. |
Methods
Copy()
Copies this instance.
Declaration
public virtual IPropertySettings Copy()
Returns
Type | Description |
---|---|
IPropertySettings | A copy of this instance. |
Remarks
Default implementation only does a memberwise clone and set the id to System.Guid.NewGuid. If the settings contains object references it is up to the implementation to create an override of the copy method and copy the referenced objects as well.
GetDefaultValues()
Gets the default value.
Declaration
public abstract IPropertySettings GetDefaultValues()
Returns
Type | Description |
---|---|
IPropertySettings | Programmatically determined default values |