Class ShippingMethodSelectionFactory
Inheritance
System.Object
ShippingMethodSelectionFactory
Implements
EPiServer.Shell.ObjectEditing.ISelectionFactory
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.Commerce.Shell.UIDescriptors.EditorDescriptors.SelectionFactories
Assembly: EPiServer.Commerce.Shell.dll
Version: 13.30.0Syntax
public class ShippingMethodSelectionFactory : ISelectionFactory
Constructors
ShippingMethodSelectionFactory()
Declaration
public ShippingMethodSelectionFactory()
ShippingMethodSelectionFactory(IContentLoader, LocalizationService)
Declaration
public ShippingMethodSelectionFactory(IContentLoader contentLoader, LocalizationService localizationService)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.IContentLoader | contentLoader | |
EPiServer.Framework.Localization.LocalizationService | localizationService |
Methods
GetSelections(ExtendedMetadata)
Declaration
public IEnumerable<ISelectItem> GetSelections(ExtendedMetadata metadata)
Parameters
Type | Name | Description |
---|---|---|
EPiServer.Shell.ObjectEditing.ExtendedMetadata | metadata |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<EPiServer.Shell.ObjectEditing.ISelectItem> |
GetShippingMethodsByMarket(String, Boolean)
Declaration
protected virtual IEnumerable<ShippingMethodSelectionFactory.ShippingMethodData> GetShippingMethodsByMarket(string marketId, bool returnInactive)
Parameters
Type | Name | Description |
---|---|---|
System.String | marketId | |
System.Boolean | returnInactive |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ShippingMethodSelectionFactory.ShippingMethodData> |
Implements
EPiServer.Shell.ObjectEditing.ISelectionFactory