abstract classafIoc::Constraints

sys::Obj
  afIoc::Constraints

Returned from AppModule Configuration methods to add ordering constraints to your contributions.

Constraints are keys of other contributions that this contribution must appear before or after.

config["Breakfast"] = eggs
config["Dinner"]    = pie
...
config.set("Lunch", ham).after("breakfast").before("dinner")

Constraints become very powerful when used across multiple modules and pods.

after

Source

abstract This after(Obj key)

Specify a key your contribution should appear after.

This may be called multiple times to add multiple constraints.

before

Source

abstract This before(Obj key)

Specify a key your contribution should appear before.

This may be called multiple times to add multiple constraints.