AwesomeSauce.Configuration.Actions.RestfulHandlerActionSource.guard C# (CSharp) Метод

guard() публичный Метод

public guard ( Type type, MethodInfo methodInfo ) : void
type System.Type
methodInfo System.Reflection.MethodInfo
Результат void
        void guard(Type type, MethodInfo methodInfo)
        {
            if(methodInfo == null)
            {
                throw new AwesomeException("No 'Execute' method was found on '{0}'".ToFormat(type.Name));
            }
        }
RestfulHandlerActionSource