void IAlertService.UnRegister(AlertSchema schema) { if (schema == null) { throw new ArgumentNullException("schema"); } _schemas.Remove(schema.EntityType); }
void IAlertService.UnRegister(AlertSchema schema) { if (schema == null) throw new ArgumentNullException("schema"); _schemas.Remove(schema.EntityType); }
void IAlertService.Register(AlertSchema schema) { if (schema == null) throw new ArgumentNullException("schema"); _schemas[schema.EntityType] = schema; }