System.TermInfo.Database.ReadActiveDatabase C# (CSharp) Method

ReadActiveDatabase() static private method

Read the database for the current terminal as specified by the "TERM" environment variable.
static private ReadActiveDatabase ( ) : Database
return Database
            internal static Database ReadActiveDatabase()
            {
                string term = Environment.GetEnvironmentVariable("TERM");
                return !string.IsNullOrEmpty(term) ? ReadDatabase(term) : null;
            }