applying

Apply a policy after existing policies in a registration context, or at a position if specified.

  1. RegistrationContext!(Policies, Policy) applying(RegistrationContext!Policies context)
  2. RegistrationContext!(Policies[0..at], Policy, Policies[at..$]) applying(RegistrationContext!Policies context)
    @safe
    RegistrationContext!(Policies[0..at], Policy, Policies[at..$])
    applying
    (
    size_t at
    Policy
    Policies...
    )

Parameters

context RegistrationContext!Policies

context to which add a new policy

at

position at whicht to apply policy

Policy

new policy to inject into registration context

Return Value

Type: RegistrationContext!(Policies[0..at], Policy, Policies[at..$])

RegistrationContext!(Policies, Policy)

Meta