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