Пример #1
0
            private void Inspect()
            {
                if (this.inspector == null)
                {
                    this.inspector = this.context.QueryContext.GetHookHandler <IQueryExpressionInspector>();
                }

                if (this.inspector != null && !this.inspector.Inspect(this.context))
                {
                    throw new InvalidOperationException(Resources.InspectionFailed);
                }
            }
Пример #2
0
            private void Inspect()
            {
                if (this.inspector == null)
                {
                    this.inspector = this.context.QueryContext.GetHookHandler<IQueryExpressionInspector>();
                }

                if (this.inspector != null && !this.inspector.Inspect(this.context))
                {
                    throw new InvalidOperationException(Resources.InspectionFailed);
                }
            }