public void ActionWhenTrue() { var layers = _layerIds.Split(',', StringSplitOptions.RemoveEmptyEntries).Select(x => x.Trim()).ToList(); foreach (string layer in layers) { _activateLayer.Invoke(_deviceId, layer); } }
public void DrawLayer(string deviceId, string layerId) { _activateLayer.Invoke(deviceId, layerId); }