CQRSalad.Dispatching.ActionsScanning.DefaultDispatcherHandlerActionsProvider.IsHandlerAction C# (CSharp) Метод

IsHandlerAction() приватный Метод

private IsHandlerAction ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
Результат bool
        private bool IsHandlerAction(MethodInfo method)
        {
            bool isDefinitionMatch = method.IsPublic &&
                                        method.GetParameters().Length == 1 &&
                                        !method.IsAbstract &&
                                        !method.ContainsGenericParameters &&
                                        !method.IsConstructor &&
                                        !method.IsGenericMethod &&
                                        !method.IsStatic;

            return isDefinitionMatch;
        }
    }
DefaultDispatcherHandlerActionsProvider