Manos.Mvc.HttpModelValueProvider.GetValue C# (CSharp) Method

GetValue() public method

public GetValue ( string key ) : string
key string
return string
        public string GetValue(string key)
        {
            // Posted form data first
            var str = m_Context.ManosContext.Request.PostData.Get(key).UnsafeValue;
            if (str != null)
                return str;

            // URI Data second
            str = m_Context.ManosContext.Request.UriData.GetString(key);
            if (str != null)
                return str;

            // Query string third
            str = m_Context.ManosContext.Request.QueryData.GetString(key);
            if (str != null)
                return str;

            // Not found
            return null;
        }