Exemple #1
0
 public void AddEntry(ITaggedData taggedData)
 {
     if (taggedData == null)
     {
         throw new ArgumentNullException("taggedData");
     }
     this.AddEntry((int)taggedData.TagID, taggedData.GetData());
 }
Exemple #2
0
 /// <summary>
 /// Add a new entry to extra data.
 /// </summary>
 /// <param name="taggedData">The <see cref="ITaggedData"/> value to add.</param>
 public void AddEntry(ITaggedData taggedData)
 {
     if (taggedData == null)
     {
         throw new ArgumentNullException(nameof(taggedData));
     }
     AddEntry(taggedData.TagID, taggedData.GetData());
 }
Exemple #3
0
 /// <summary>
 /// Add a new entry to extra data.
 /// </summary>
 /// <param name="taggedData">The <see cref="ITaggedData"/> value to add.</param>
 public void AddEntry(ITaggedData taggedData)
 {
     if (taggedData == null)
     {
         throw new ArgumentNullException(SerialportSample.XWUtils.nameof(taggedData));
     }
     AddEntry(taggedData.TagID, taggedData.GetData());
 }
Exemple #4
0
 public void AddEntry(ITaggedData taggedData)
 {
     if (taggedData == null)
     {
         throw new ArgumentNullException(nameof(taggedData));
     }
     AddEntry(taggedData.TagId, taggedData.GetData());
 }
Exemple #5
0
 public void AddEntry(ITaggedData taggedData)
 {
     if (taggedData == null)
     {
         throw new ArgumentNullException("taggedData");
     }
     this.AddEntry(taggedData.TagID, taggedData.GetData());
 }
 public void AddEntry(ITaggedData taggedData)
 {
     //IL_0008: Unknown result type (might be due to invalid IL or missing references)
     if (taggedData == null)
     {
         throw new ArgumentNullException("taggedData");
     }
     AddEntry(taggedData.TagID, taggedData.GetData());
 }