public void Configure(BindingContext context) { context.bind( rule => rule.typeToBind = typeof(EmptyInterface), typeof(DerievedFromEmptyInterface)); }
public void Configure(BindingContext context) { context.bind(rule => rule.markedWith = new ParametrizedWithEnumQualifier(ParametrizedWithEnumQualifier.EnumExample.B), typeof(OtherInterfaceImplementation)); }
public void Configure(BindingContext context) { context.bind(rule => rule.typeToBind = typeof(EmptyInterface), exampleInstance); }