Example #1
0
        private void Get(object obj)
        {
            List <string> lst = (List <string>)obj;

            foreach (string str1 in lst)
            {
                Monitor.Enter(this);
                Console.WriteLine(str1);
                GlobusFileHelper.AppendStringToTextFileNewLine(str1, Path.Combine(Application.StartupPath, "Log\\sample_feed1.csv"));
                Monitor.Exit(this);
            }
        }
Example #2
0
 private void WriteData(string Data)
 {
     Monitor.Enter(this);
     GlobusFileHelper.AppendStringToTextFileNewLine(Data, FileName);
     Monitor.Exit(this);
 }