Class GeneratedParamAttribute
Used to tag generated service client method parameters with additional metadata that will be used when validatating the a generated service client actually matches an ASP.NET service implementation.
Namespace: Neon.ModelGen
Assembly: Neon.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Parameter)]
public class GeneratedParamAttribute : Attribute
Constructors
GeneratedParamAttribute(PassAs)
Constructor.
Declaration
public GeneratedParamAttribute(PassAs passAs)
Parameters
Type | Name | Description |
---|---|---|
PassAs | passAs | Indicates how the client passes the tagged parameter to the service. |
Properties
Name
Parameter name as it appears on the wire for parameters passed as a query, header, or route.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PassAs
Indicates how the client passes the tagged parameter to the service.
Declaration
public PassAs PassAs { get; }
Property Value
Type | Description |
---|---|
PassAs |