Class PropertySettingsBase
Base functionality for property settings implementing clone functionality.
Implements
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.PropertySettings
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public abstract class PropertySettingsBase : 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 |