// PRIVATE METHODS private void RegisterAllEventTypes(string eventType) { if (eventType.Equals(Names.EVENT_TYPE_DEFAULT)) { DeviceEvent.RegisterDeviceEventConfigurations(); } }
public static bool IsMessageTypeAlreadyRegistered(string messageType) { if (messageTypesBag.Count < 2) { DeviceEvent.RegisterDeviceEventConfigurations(); } return(messageTypesBag.ContainsKey(messageType)); }