private void ClearTempStore()
        {
            var key = Request.QueryString["spobjectmanagerlist"];

            if (key != null)
            {
                TemporaryStore.Get(new Guid(key), delete: true);
            }
        }
Example #2
0
        private void TempStoreSPSyncSettingsList(bool delete)
        {
            var spProfileSyncSettingsListKey = Request.QueryString[SPProfileSyncControl.SettingsListKeyName];

            if (!String.IsNullOrEmpty(spProfileSyncSettingsListKey))
            {
                spSyncSettingsList = new SPProfileSyncProviderList(TemporaryStore.Get(new Guid(spProfileSyncSettingsListKey), delete));
            }
        }
        private IntegrationProviders FromTempStore(bool delete = false)
        {
            var key = Request.QueryString["spobjectmanagerlist"];

            if (key != null)
            {
                return(allProviders = new IntegrationProviders(TemporaryStore.Get(new Guid(key), delete)));
            }
            return(null);
        }