ARCed.Plugins.Plugin.GetRegistryClasses C# (CSharp) Method

GetRegistryClasses() private static method

Generates a dictionary of simple and full names of registerable windows found
private static GetRegistryClasses ( IEnumerable config ) : string>.Dictionary
config IEnumerable A list of resource key/value pairs, the key being the name of /// the resouce, and the value being the value of the resouce
return string>.Dictionary
        private static Dictionary<string, string> GetRegistryClasses(IEnumerable<DictionaryEntry> config)
        {
            var data = new Dictionary<string, string>();
            foreach (var classNames in from entry in config
                                       where entry.Key.ToString().StartsWith("RegistyPlugin")
                                       select entry.Value.ToString().Split('|'))
            {
                data[classNames[0]] = classNames[1];
            }
            return data;
        }