CQRSalad.Dispatching.ActionsScanning.DefaultDispatcherHandlerActionsProvider.IsHandlerAction C# (CSharp) Method

IsHandlerAction() private method

private IsHandlerAction ( MethodInfo method ) : bool
method System.Reflection.MethodInfo
return 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