Пример #1
0
        internal void InvokeFinalizePostProcessingStepEvent(MapBuilder.ProcessingStep step, MapBuilder builder)
        {
            var ev = new FinalizePostProcessingStepEventArgs
            {
                ProcessingStep = step,
                StepType       = PostProcessingStepEnumFactory.Get(step.step.name),
                MapBuilder     = builder
            };

            FinalizePostProcessingStepEvent?.Invoke(ev);
        }
Пример #2
0
        internal void InvokePostProcessingStepEvent(MapBuilder.ProcessingStep step, MapBuilder builder, out bool allow)
        {
            allow = true;
            var ev = new PostProcessingStepEventArgs
            {
                Allow          = allow,
                ProcessingStep = step,
                StepType       = PostProcessingStepEnumFactory.Get(step.step.name),
                MapBuilder     = builder
            };

            PostProcessingStepEvent?.Invoke(ev);
            allow = ev.Allow;
        }