Mugen Injection [Priority]
All bindings have priority. You can have multiple identical bindings with different priorities. A list of the available priorities:
- Standard = 1
- Low = 2
- Normal = 3
- High = 4
- A binding without the condition = Standard
- A binding with condition = Low
- A binding with custom condition = Normal
injector.Bind<Alpha>().ToSelf().SetStandardPriority(); injector.Bind<Alpha>().To<Beta>().SetLowPriority(); injector.Bind<Alpha>().To<Bravo>().SetNormalPriority(); var bravo = injector.Get<Alpha>();//Instance of Bravo.