Extractor_Serializer.NewParser.LoadFunctionSets C# (CSharp) Method

LoadFunctionSets() private method

The load function sets.
private LoadFunctionSets ( ) : void
return void
        private void LoadFunctionSets()
        {
            this.FunctionSets = new Dictionary<string, string>();
            TextReader tr = new StreamReader("FunctionSets.cfg", Encoding.GetEncoding("windows-1252"));
            string line;
            while ((line = tr.ReadLine()) != null)
            {
                if (line != string.Empty)
                {
                    string[] parts = line.Split('=');
                    this.FunctionSets.Add(parts[0], parts[1]);
                }
            }

            tr.Close();
        }