Exemplo n.º 1
0
 public void SetUp()
 {
     fileReader = new INIFileReader("Connections.INI");
     FileExportFolderProperties = new Dictionary <string, string>();
     FileExportFolderProperties.Add("Name", @"\\prodfile01\AppExport\Dev\");
     FileExportFolderProperties.Add("GPExtract", @"\\prodfin01\GPImportFiles\UAT_IMPORTS\");
     FileExportFolderProperties.Add("CreditRequests", @"\\prodfile01\AppExport\Dev\CreditRequests\");
     FileExportFolderProperties.Add("JetSchedule", @"\\PRODFIN01\Jet Source Folder\Tasks\");
 }
Exemplo n.º 2
0
        //Global Filters B
        #endregion
        //Bot Finder
        public string BotFinderExt(string Zone, string Name)
        {
            string ValueOut;

            FullDir = FullDirB + FilePreExt + FilesAExt;
            INIFileReader LangBase = new INIFileReader(FullDir);
            string        StringNa = StringN.ToString();

            ValueOut = LangBase.IniReadValue(Zone, Name);

            return(ValueOut);
        }
Exemplo n.º 3
0
        public string LangSoftwareIni(string Tool, string Name)
        {
            string ValueOut;
            string Dir;

            Dir = FullDirA + @"\Global.ini";
            INIFileReader LangBase = new INIFileReader(Dir);
            string        StringNa = StringN.ToString();

            ValueOut = LangBase.IniReadValue(Tool, Name);

            return(ValueOut);
        }
Exemplo n.º 4
0
        public string IniTextReaded(string N)
        {
            string ValueOut;

            FullDir = FullDirB + FilePreExt + FilesAExt;
            INIFileReader LangBase = new INIFileReader(FullDir);
            string        StringNa = StringN.ToString();

            ValueOut = LangBase.IniReadValue("GeneralR", N);
            if (ValueOut == null)
            {
                if (SelectedLang == "English")
                {
                    ValueOut = "Sorry but i dont have instructions for this.";
                }
                else
                {
                    ValueOut = "Lo siento pero no tengo instrucciones para esto.";
                }
            }

            return(ValueOut);
        }
Exemplo n.º 5
0
 public void SetUp()
 {
     fileReader = new INIFileReader("Connections.INI");
 }