Beispiel #1
0
        private string RequestParameter_Required(DocumentorContext context, params object[] parameters)
        {
            RequestParameterAttribute attr = parameters[0] as RequestParameterAttribute;

            return(attr.Required.ToString());
        }
Beispiel #2
0
        private string RequestParameter_Description(DocumentorContext context, params object[] parameters)
        {
            RequestParameterAttribute attr = parameters[0] as RequestParameterAttribute;

            return(attr.Description);
        }
Beispiel #3
0
        private string RequestParameter_Type(DocumentorContext context, params object[] parameters)
        {
            RequestParameterAttribute attr = parameters[0] as RequestParameterAttribute;

            return(attr.Type);
        }