예제 #1
0
        public static List <ReplayConfiguration> GetAllLocalCopyConfigurationsForVss()
        {
            Dependencies.ADConfig.Refresh("GetAllLocalCopyConfigurationsForVss");
            List <ReplayConfiguration> list;
            List <ReplayConfiguration> collection;
            List <KeyValuePair <IADDatabase, Exception> > list2;

            ReplayConfiguration.ConstructAllLocalConfigurations(Dependencies.ADConfig, null, out list, out collection, out list2);
            list.AddRange(collection);
            return(list);
        }
예제 #2
0
        public static Dictionary <Guid, ReplayConfiguration> GetAllLocalConfigurations(IADConfig adConfig, ActiveManager activeManager, out List <KeyValuePair <IADDatabase, Exception> > failedConfigurations)
        {
            Dictionary <Guid, ReplayConfiguration> dictionary = new Dictionary <Guid, ReplayConfiguration>(48);

            ExTraceGlobals.ReplayManagerTracer.TraceDebug(0L, "GetConfigurations: Looking for possible Configurations.");
            List <ReplayConfiguration> configList;
            List <ReplayConfiguration> configList2;

            ReplayConfiguration.ConstructAllLocalConfigurations(adConfig, activeManager, out configList, out configList2, out failedConfigurations);
            ReplayConfigurationHelper.AddConfigurationsToDictionary(configList, dictionary);
            ReplayConfigurationHelper.AddConfigurationsToDictionary(configList2, dictionary);
            ExTraceGlobals.ReplayManagerTracer.TraceDebug <int>(0L, "Found {0} configurations in total.", dictionary.Count);
            return(dictionary);
        }