void IConfigureBindings <WebApplication> .ConfigureBindings(IBindingsCollection <WebApplication> bindingsCollection) { bindingsCollection.RegisterBindingConstraintHandler(new BindingConstraint()); bindingsCollection.SetSingleton <WebCoreModule>(); bindingsCollection.SetSingleton <WebCoreConfigurationChecker>(); }
public void RegisterBindingConstraintHandler(IBindingConstraintHandler handler) { _source.RegisterBindingConstraintHandler(handler); }
void IConfigureBindings <OnXApplication> .ConfigureBindings(IBindingsCollection <OnXApplication> bindingsCollection) { bindingsCollection.RegisterBindingConstraintHandler(new ModuleCoreBindingConstraint()); }