示例#1
0
        private static void ProcessQuery(List<Layer> layers, Query query)
        {
            switch (query.Operation) {
            case Operations.Add:
            case Operations.Remove:
                IntersectLayer(layers, query.Layer);
                break;

            case Operations.Question:
                ShowLayer(layers, query.Layer);
                break;
            }
        }