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)
    @safe
    RegistrationContext!(Policies, Policy)
    applying
    (
    Policy
    Policies...
    )
  2. RegistrationContext!(Policies[0..at], Policy, Policies[at..$]) applying(RegistrationContext!Policies context)

Parameters

context RegistrationContext!Policies

context to which add a new policy

Policy

new policy to inject into registration context

Return Value

Type: RegistrationContext!(Policies, Policy)

RegistrationContext!(Policies, Policy)

Meta