ServiceStack.Host.MetadataTypeExtensions.GetParamType C# (CSharp) 메소드

GetParamType() 공개 정적인 메소드

public static GetParamType ( this prop, MetadataType type, Operation op ) : string
prop this
type MetadataType
op Operation
리턴 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