Show / Hide Table of Contents

Class FromUriAttribute

The FromUriAttribute attribute is used to indicate that a parameter must be deserialized from path- and query-string parameters instead of the request body.

Inheritance
System.Object
System.Attribute
FromUriAttribute
Namespace: LambdaSharp.ApiGateway
Assembly: LambdaSharp.ApiGateway.dll
Syntax
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class FromUriAttribute : Attribute
Remarks

The FromUriAttribute and FromBodyAttribute are mutually exclusive. The FromUriAttribute is not needed for simple types (e.g. string, int, etc.) as they are deserialized from path- and query-string parameters by default.

In This Article
Back to top Generated by DocFX