예제 #1
0
 protected virtual void RegisterLanguageBindingParser(IMvxIoCProvider iocProvider)
 {
     if (iocProvider.CanResolve <IMvxLanguageBindingParser>())
     {
         MvxBindingLog.Trace("Binding Parser already registered - so skipping Language parser");
         return;
     }
     MvxBindingLog.Trace("Registering Language Binding Parser");
     iocProvider.RegisterSingleton(CreateLanguageBindingParser());
 }
 protected virtual void RegisterBindingParser()
 {
     if (Mvx.IoCProvider.CanResolve <IMvxBindingParser>())
     {
         MvxBindingLog.Trace("Binding Parser already registered - so skipping Default parser");
         return;
     }
     MvxBindingLog.Trace("Registering Default Binding Parser");
     Mvx.IoCProvider.RegisterSingleton(CreateBindingParser());
 }