Пример #1
0
 /// <summary>
 /// Add several tokens.
 /// </summary>
 /// <param name="TheTokenNameDataList"></param>
 public void AddTokens(TokenNameDataList TheTokenNameDataList)
 {
     foreach (TokenNameData AnItem in TheTokenNameDataList)
     {
         this.Add(new Token(AnItem.TagName, AnItem.Data));
     }
 }
Пример #2
0
 /// <summary>
 /// Instantiate ADIFQSO with an initial collection of name/data items.
 /// </summary>
 /// <param name="TagNameDataListForThisQSO"></param>
 public ADIFQSO(TokenNameDataList TagNameDataListForThisQSO)
 {
     foreach (TokenNameData anItem in TagNameDataListForThisQSO)
     {
         this.Add(new Token(anItem.TagName, anItem.Data));
     }
 }
Пример #3
0
 /// <summary>
 /// Instantiate ADIFHeader with header pre text and a collection of name/data items.
 /// </summary>
 /// <param name="HeaderPreText"></param>
 /// <param name="TagNameDataListForThisQSO"></param>
 public ADIFHeader(string HeaderPreText, TokenNameDataList TagNameDataListForThisQSO)
 {
     this.HeaderPreText = HeaderPreText;
     if (TagNameDataListForThisQSO != null)
     {
         foreach (TokenNameData anItem in TagNameDataListForThisQSO)
         {
             this.Add(new Token(anItem.TagName, anItem.Data));
         }
     }
 }