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); }