private void AddMapEvent(TKey key, TValue value) { if (!_context.EventsEnabled) { return; } var mapEvent = new MapEvent { MapAction = MapAction.AddMap, KeyValue = _converter.GetKeyValue(key, value) }; _context.AddMapEvent(_fieldNumber, mapEvent); }
private void AddUpdateEvent(EventData data) { var me = new MapEvent { MapAction = MapAction.UpdateMap, KeyValue = _key, EventData = data }; _mapContext.AddMapEvent(_fieldNumber, me); }
public override void AddEvent(EventData e) { var me = new MapEvent { MapAction = MapAction.UpdateMap, Key = _key, EventData = e }; _mapContext.AddMapEvent(_fieldNumber, me); }