public static async Task Main() { var state = new CloudState.CSharpSupport.CloudState() .RegisterCrdtEntity <CrdtExampleEntity>( CrdtExample.Descriptor, CrdtExampleReflection.Descriptor); await state.StartAsync(); }
public static async Task Main() { var state = new CloudState.CSharpSupport.CloudState() .RegisterEventSourcedEntity <ShoppingCartEntity>( Com.Example.Shoppingcart.ShoppingCart.Descriptor, Com.Example.Shoppingcart.Persistence.DomainReflection.Descriptor ); await state.StartAsync(); }