From c1f20ea37de16c30f2f0de846ce3d539cd3f1c3c Mon Sep 17 00:00:00 2001 From: gdlcf88 Date: Sun, 12 Jun 2022 02:25:39 +0800 Subject: [PATCH] Update README.md --- docs/plugins/inventories/orleans-grains/README.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/plugins/inventories/orleans-grains/README.md b/docs/plugins/inventories/orleans-grains/README.md index c72baf83..ff92953b 100644 --- a/docs/plugins/inventories/orleans-grains/README.md +++ b/docs/plugins/inventories/orleans-grains/README.md @@ -26,14 +26,7 @@ EShop product-inventory implementation of [Orleans Grains](https://docs.microsof .UseOrleans(c => { c.UseLocalhostClustering() // for test only - .AddMemoryGrainStorage(InventoryGrain.StorageProviderName) // for test only - .Configure(options => - { - options.ClusterId = "my-first-cluster"; - options.ServiceId = "MyEShopApp"; - }) - .ConfigureApplicationParts( - parts => parts.AddApplicationPart(typeof(InventoryGrain).Assembly).WithReferences()); + c.AddMemoryGrainStorage(InventoryGrain.StorageProviderName); // for test only }); ```