Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class EnumSelectionFactory

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.Cms.Shell.UI.ObjectEditing.EditorDescriptors.SelectionFactories
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7
Syntax
public abstract class EnumSelectionFactory : ISelectionFactory

Constructors

EnumSelectionFactory(LocalizationService)

Declaration
public EnumSelectionFactory(LocalizationService localizationService)
Parameters
Type Name Description
LocalizationService localizationService

Properties

EnumType

Declaration
protected abstract Type EnumType { get; }
Property Value
Type Description
System.Type

LocalizationService

Declaration
protected LocalizationService LocalizationService { get; }
Property Value
Type Description
LocalizationService

Methods

GetSelections(ExtendedMetadata)

Declaration
public IEnumerable<ISelectItem> GetSelections(ExtendedMetadata metadata)
Parameters
Type Name Description
ExtendedMetadata metadata
Returns
Type Description
System.Collections.Generic.IEnumerable<ISelectItem>

GetStringForEnumValue(Int32)

Declaration
protected abstract string GetStringForEnumValue(int value)
Parameters
Type Name Description
System.Int32 value
Returns
Type Description
System.String

Implements

Extension Methods