internal static void ReplaceKeyWordsFromDictionary()
 {
     ContractContent = ContractContent.ConvertAll(s => s.Replace("{paragraphbreak}", " "));
     foreach (ContractDictionary item in DictionaryData)
     {
         ContractContent = ContractContent.ConvertAll(s => s.Replace("{" + item.Key + "}", item.Value));
     }
 }
Esempio n. 2
0
 internal static SectionBuilder ReplaceKeyWordsFromDictionary(this SectionBuilder s)
 {
     ContractContent = ContractContent.ConvertAll(c => c.Replace("{paragraphbreak}", " "));
     foreach (ContractDictionary item in DictionaryData)
     {
         ContractContent = ContractContent.ConvertAll(c => c.Replace("{" + item.Key + "}", item.Value));
     }
     return(s);
 }