protected override void Start() { Thread.Sleep(2000); var props = new List <Dictionary <string, string> > { new Dictionary <string, string> { { "ric", "12345" }, { "commonname", "first company" } }, new Dictionary <string, string> { { "ric", "33322" }, { "commonname", "other company" } } }; var myNda = new Nda(); LogMessage("create nda from template"); myNda.Load(@"C:\Users\websiting\Documents\ricpresentation\nda.csv"); Thread.Sleep(2000); //myNda.Content[0]. //LogMessage("save nda in : " + configObj.ExcelName); //LogMessage("task done"); }
protected override void Start() { Thread.Sleep(2000); LogMessage("task start"); var props = new List <Dictionary <string, string> > { new Dictionary <string, string> { { "ric", "12345" }, { "commonname", "first company" } }, new Dictionary <string, string> { { "ric", "33322" }, { "commonname", "other company" } } }; var myNda = new Nda(); var test = typeof(Nda); LogMessage("Load nda from File"); myNda.Load(@"C:\Users\websiting\Documents\ricpresentation\result.xls"); myNda.Save(@"C:\Users\websiting\Documents\ricpresentation\result4.xls"); Thread.Sleep(2000); //LogMessage("the first ric is : " + myNda.Content[0].Ric); ////foreach (NdaEntry testentry in myNda) ////{ //// var commoname = testentry.AssetCommonName; ////} //var test42 = from NdaEntry entry in myNda // where entry.Ric == "ORD" // select entry; //LogMessage("[DYNAMIC]the first ric is : " + myNda.DynamicContent[0].RIC); LogMessage("task done"); }