Class NestedParametersAttribute
- Namespace
- Rinku.Querying.Parameters
- Assembly
- Rinku.dll
Flattens a member's parameter surface into its containing object. The nested object's members behave as though they were declared on the containing parameter object.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, Inherited = true)]
public sealed class NestedParametersAttribute : Attribute
- Inheritance
-
NestedParametersAttribute
- Inherited Members
- Extension Methods
Constructors
NestedParametersAttribute()
Flattens the nested object without a prefix.
public NestedParametersAttribute()
NestedParametersAttribute(string)
Flattens the nested object and prefixes every nested parameter name. The prefix is concatenated
directly, so pass "Employee" for EmployeeId or "Employee_" for Employee_Id.
public NestedParametersAttribute(string prefix)
Parameters
prefixstring
Properties
Prefix
The optional prefix prepended to nested parameter names.
public string? Prefix { get; }