(DbConnection conn, Identity identity, string authToken)
| 56 | |
| 57 | /// Our `OnConnect` callback: save our credentials to a file. |
| 58 | void OnConnected(DbConnection conn, Identity identity, string authToken) |
| 59 | { |
| 60 | local_identity = identity; |
| 61 | AuthToken.SaveToken(authToken); |
| 62 | |
| 63 | conn.SubscriptionBuilder() |
| 64 | .OnApplied(OnSubscriptionApplied) |
| 65 | .SubscribeToAllTables(); |
| 66 | } |
| 67 | |
| 68 | /// Our `OnConnectError` callback: print the error, then exit the process. |
| 69 | void OnConnectError(Exception e) |
nothing calls this directly
no test coverage detected
searching dependent graphs…