예제 #1
0
        private void CheckEventBindingMethod(BindingEvent bindingEvent, MethodInfo method)
        {
            if (!IsScenarioSpecificEvent(bindingEvent) &&
                !method.IsStatic)
            {
                throw errorProvider.GetNonStaticEventError(method);
            }

            //TODO: check parameters, etc.
        }