Class CSMUtilities
Utility class for CSM. Contains logic to serialize CSM events to Json.
public static class CSMUtilities
- Inheritance
-
CSMUtilities
- Inherited Members
Methods
GetApiNameFromRequest(string, IDictionary<string, string>, string)
Method to retrieve the API name from the request name.
public static string GetApiNameFromRequest(string requestName, IDictionary<string, string> serviceApiNameMapping, string serviceName)
Parameters
requestName
stringserviceApiNameMapping
IDictionary<string, string>serviceName
string
Returns
SerializetoJsonAndPostOverUDP(MonitoringAPICall)
public static void SerializetoJsonAndPostOverUDP(MonitoringAPICall monitoringAPICall)
Parameters
monitoringAPICall
MonitoringAPICall
SerializetoJsonAndPostOverUDPAsync(MonitoringAPICall)
public static Task SerializetoJsonAndPostOverUDPAsync(MonitoringAPICall monitoringAPICall)
Parameters
monitoringAPICall
MonitoringAPICall