All bindings have priority. You can have multiple identical bindings with different priorities.
All of the available priorities:
- Standard = 1
- Low = 2
- Normal = 3
- High = 4
The default priority:
- Binding without the condition = Standard.
- Binding with namespace condition = Low.
- Binding with type condition = Normal.
- Binding with custom condition = High.
You can manually set the priority:
If a container is found two bindings with the same priority will be thrown exception.
var injector = new MugenInjector();
//Set hight priority for binding.