From bc3a76010bd77cbf9c6a022596bb445736e8a06a Mon Sep 17 00:00:00 2001 From: Paul Yuknewicz Date: Mon, 22 May 2023 12:16:09 -0700 Subject: [PATCH] updating MD per https://github.com/jgm/pandoc/issues/2117 Signed-off-by: Paul Yuknewicz --- actors/csharp/sdk/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actors/csharp/sdk/README.md b/actors/csharp/sdk/README.md index 005ab431..ec23e9a5 100644 --- a/actors/csharp/sdk/README.md +++ b/actors/csharp/sdk/README.md @@ -102,7 +102,7 @@ When you ran the client app: Looking at the code, `SmartDetectorActor` objects are created in the client application and initialized with object state with `ActorProxy.Create(actorId, actorType)` and then `proxySmartDevice.SetDataAsync(data)`. These objects are re-entrant and will hold on to the state as shown by `proxySmartDevice.GetDataAsync()`. -```csharp +```cs // Actor Ids and types var deviceId1 = "1"; var deviceId2 = "2"; @@ -145,7 +145,7 @@ The `ControllerActor` object is used to keep track of the devices and trigger th The `ControllerActor` internally triggers all alarms when smoke is detected, and then sets a reminder to clear all alarm states after 15 seconds. -```csharp +```cs public async Task TriggerAlarmForAllDetectors() { var deviceIds = await ListRegisteredDeviceIdsAsync();