Click or drag to resize
ShoppingCartInfoProviderGetAsync Method (Guid, NullableCancellationToken)
Asynchronously gets an instance of info object based on its GUID.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
public override Task<ShoppingCartInfo> GetAsync(
	Guid guid,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

guid
Type: SystemGuid
GUID of the info object to look for.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskShoppingCartInfo
Returns a task returning either an instance of ShoppingCartInfo corresponding to guid or null.

Implements

IInfoByGuidProviderTInfoGetAsync(Guid, NullableCancellationToken)
IInfoByGuidProviderTInfoGetAsync(Guid, NullableCancellationToken)
See Also