Exemple #1
0
 public override void Setup(ApplicationModulesManager moduleManager)
 {
     base.Setup(moduleManager);
     moduleManager.ConnectMicrosoftService()
     .Merge(moduleManager.ConnectMicrosoftTodoService())
     .Subscribe(this);
 }
Exemple #2
0
        public override void Setup(ApplicationModulesManager moduleManager)
        {
            base.Setup(moduleManager);
            ExtendModel(moduleManager);
#if !NETCOREAPP3_1
            moduleManager.ConnectDocumentStyleManager()
            .Merge(moduleManager.ConnectMicrosoftCalendarService())
            .Merge(moduleManager.ConnectMicrosoftService())
            .Merge(moduleManager.ConnectMicrosoftTodoService())
            .Subscribe(this);
#endif
        }
        public override void Setup(ApplicationModulesManager moduleManager)
        {
            base.Setup(moduleManager);


            if (!Debugger.IsAttached)
            {
                moduleManager.Extend(Enum.GetValues(typeof(PredefinedMap)).OfType <PredefinedMap>().Where(map => map != PredefinedMap.None && map.Platform() == Platform.Web));
            }
            moduleManager.LookupCascade().ToUnit()
            .Merge(moduleManager.ConnectMicrosoftCalendarService())
            .Merge(moduleManager.ConnectMicrosoftService())
            .Merge(moduleManager.ConnectMicrosoftTodoService())
            .Subscribe(this);
        }