ServiceStack.Host.MetadataTypeExtensions.GetParamType C# (CSharp) Method

GetParamType() public static method

public static GetParamType ( this prop, MetadataType type, Operation op ) : string
prop this
type MetadataType
op Operation
return string
        public static string GetParamType(this MetadataPropertyType prop, MetadataType type, Operation op)
        {
            if (prop.ParamType != null)
                return prop.ParamType;

            var isRequest = type.Name == op.RequestType.Name;

            return !isRequest ? "form" : GetRequestParamType(op, prop.Name);
        }

Same methods

MetadataTypeExtensions::GetParamType ( this attr, Type type, string verb ) : string