C# Class Kooboo.Commerce.Recommendations.Engine.RelatedItemsProviders

显示文件 Open project: Kooboo/Ecommerce

Public Methods

Method Description
GetProviders ( string instance ) : IEnumerable
Register ( string instance, IEnumerable providers ) : void
Register ( string instance, IRelatedItemsProvider provider, float weight = 1f ) : void
RemoveProviders ( string instance ) : void

Method Details

GetProviders() public static method

public static GetProviders ( string instance ) : IEnumerable
instance string
return IEnumerable

Register() public static method

public static Register ( string instance, IEnumerable providers ) : void
instance string
providers IEnumerable
return void

Register() public static method

public static Register ( string instance, IRelatedItemsProvider provider, float weight = 1f ) : void
instance string
provider IRelatedItemsProvider
weight float
return void

RemoveProviders() public static method

public static RemoveProviders ( string instance ) : void
instance string
return void