 | IgnitionConfigurationSetDefaultShoppingCartCustomer(FuncNetForumId) Method |
Sets a callback to be used to determine the default Shopping Cart Customer by instances of ShoppingCartService.
Namespace: Ignition.ConfigurationAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.28229
Syntaxpublic IgnitionConfiguration SetDefaultShoppingCartCustomer(
Func<NetForumId> cartCustomer
)
Public Function SetDefaultShoppingCartCustomer (
cartCustomer As Func(Of NetForumId)
) As IgnitionConfiguration
public:
IgnitionConfiguration^ SetDefaultShoppingCartCustomer(
Func<NetForumId^>^ cartCustomer
)
member SetDefaultShoppingCartCustomer :
cartCustomer : Func<NetForumId> -> IgnitionConfiguration Parameters
- cartCustomer FuncNetForumId
- A callback to determine new default Shopping Cart Customer
Return Value
IgnitionConfiguration
Remarks
This callback will be used every time an instance of ShoppingCartService needs to determine the Shopping Cart Customer
for the cart.
Typically, this callback should look up and return the NetForumId of the parent application's currently logged in user.
See Also