BSky.Lifetime.Services.ConfigService.LoadDefaultsInDictionary C# (CSharp) Method

LoadDefaultsInDictionary() public method

public LoadDefaultsInDictionary ( ) : void
return void
        public void LoadDefaultsInDictionary()
        {
            string tempDir = System.IO.Path.GetTempPath().Replace("\\","/");//C:\Users\Anil\AppData\Local\Temp\
            //create default path for all in _appSettings
            _DefaultSettings.Clear();
            //hardcoded defaults for each key
            //_DefaultSettings.Add("tempfolder", tempDir);// temporary folder 
            _DefaultSettings.Add("tempfolder", "");// temporary folder 
            //_DefaultSettings.Add("tempimage", tempDir + "rimage.png");//temp image, loading output 
            _DefaultSettings.Add("tempimage", "rimage.png");//only filename so that we can add different paths to it for different users.
            _DefaultSettings.Add("outputstub", "false");// false for testing output template no data populates
            //_DefaultSettings.Add("tempsink", tempDir + "mymsg.txt");//temp sink full path filename
            _DefaultSettings.Add("tempsink", "rsink.txt");//only filename so that we can add different paths to it for different users.
            //_DefaultSettings.Add("sinkimage", tempDir + "image%03d.png");//syn edt generated image 
            _DefaultSettings.Add("sinkimage", "image%03d.png");//only filename so that we can add different paths to it for different users.
            _DefaultSettings.Add("sinkregstrdgrph", "./Config/GraphicCommandList.txt");//syn edt registered graphic command list
            //_DefaultSettings.Add("bskygrphcntrlimage", tempDir + "newImage.png");//graphic conrtole image
            _DefaultSettings.Add("bskygrphcntrlimage", "newImage.png");//only filename so that we can add different paths to it for different users.
            _DefaultSettings.Add("loglevel", "Error");//Default Log level
            _DefaultSettings.Add("InitialDirectory", "");//Default File open location
            _DefaultSettings.Add("noofdecimals", "2");//No of decimals to show in C1Flexgrid
            _DefaultSettings.Add("nooftreechars", "10");//No of chars to show in title in left tree in output
            _DefaultSettings.Add("loadSavMissingValue", "false");//Load or not SAV file's missing value attribute
            _DefaultSettings.Add("openDatasetOption", "false");//A popup will appear asking for options just before opening dataset.
            _DefaultSettings.Add("fake", "Do Nothing");//for testing only
            //_DefaultSettings.Add("test", "myimg.png");
            _DefaultSettings.Add("dctitlecol", "#FF808080");//dialog command title color
            _DefaultSettings.Add("syntitlecol", "#FF000000");//batch command title color
            _DefaultSettings.Add("rcommcol", "#FF0000FF");//R command color
            _DefaultSettings.Add("errorcol", "#FF800000");//Error color
            _DefaultSettings.Add("outputmousehovercol", "#FFFF8C00");//output window: mouse over any control shows a colored box around it
            _DefaultSettings.Add("navtreeselectedcol", "#FFFFD900");//output window: click nav tree leaf item shows a colored box around the cotrol, referenced by this leaf.
            _DefaultSettings.Add("numericrowheaders", "false");//For showing numeric row headers in output C1Flexgrid
            _DefaultSettings.Add("imagewidth", "600");// image width in output
            _DefaultSettings.Add("imageheight", "600");//image height in output
            _DefaultSettings.Add("daysleftreminder", "3,7,15,30");//Lic expire reminder 
            _DefaultSettings.Add("maxfactorcount", "20");
            _DefaultSettings.Add("advancedlogging", "false");//Advanced Logging switch

        }