Struct NoParamOrder
Special placeholder to indicate that all parameters following this should be named.
[PublicApi]
public struct NoParamOrder
- Inherited Members
Remarks
It is really important that all parameters following this are named, since the API won't guarantee the order of the parameter names.
Example: This signature:
Something.Save(string name, NoParamOrder noParamOrder = default, string title = title, string description = default)
allows:
Something.Save("MyName", title: "MyTitle")
Something.Save("MyName", description: "MyDescription")
Something.Save("MyName")
- without additional parameters
Fields
HelpLink
public const string HelpLink = "https://go.2sxc.org/named-params"