AwesomeSauce.Configuration.Actions.RestfulHandlerActionSource.guard C# (CSharp) Method

guard() public method

public guard ( Type type, MethodInfo methodInfo ) : void
type System.Type
methodInfo System.Reflection.MethodInfo
return void
        void guard(Type type, MethodInfo methodInfo)
        {
            if(methodInfo == null)
            {
                throw new AwesomeException("No 'Execute' method was found on '{0}'".ToFormat(type.Name));
            }
        }
RestfulHandlerActionSource