Table of Contents

Struct NoParamOrder

Namespace
ToSic.Lib.Coding
Assembly
ToSic.Lib.Core.dll

Special placeholder to indicate that all parameters following this should be named. 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: ...Save(string name, NoParamOrder noParamOrder = default, string title = title, string description = default) allows:

  1. Save("MyName", title: "MyTitle")
  2. Save("MyName", description: "MyDescription")
  3. Save("MyName") - without additional parameters

See Convention: Named Parameters.

[PublicApi]
public struct NoParamOrder
Inherited Members

Fields

public const string HelpLink = "https://go.2sxc.org/named-params"

Field Value

string