Ancestry.QueryProcessor.Parse.Keywords.PopulateKeywords C# (CSharp) Method

PopulateKeywords() private static method

private static PopulateKeywords ( ) : void
return void
        private static void PopulateKeywords()
        {
            FieldInfo[] LFields = typeof(Keywords).GetFields();

            int LFieldCount = 0;
            foreach (FieldInfo LField in LFields)
                if (LField.FieldType.Equals(typeof(string)) && LField.IsLiteral)
                    LFieldCount++;

            FKeywords = new string[LFieldCount];

            int LFieldCounter = 0;
            foreach (FieldInfo LField in LFields)
                if (LField.FieldType.Equals(typeof(string)) && LField.IsLiteral)
                {
                    FKeywords[LFieldCounter] = (string)LField.GetValue(null);
                    LFieldCounter++;
                }
        }