protected override async Task OnActivateAsync()
{
await InternalActivateAsync(this.ActorService.Context.CodePackageActivationContext, new ServiceProxyFactory());
CustomerOrderStatus orderStatusResult = await this.GetOrderStatusAsync();
if (orderStatusResult == CustomerOrderStatus.Unknown)
{
await this.StateManager.SetStateAsync<List<CustomerOrderItem>>(OrderItemListPropertyName, new List<CustomerOrderItem>());
await this.StateManager.SetStateAsync<long>(RequestIdPropertyName, 0);
await this.SetOrderStatusAsync(CustomerOrderStatus.New);
}
return;
}