Example #1
0
        public bool Equals(TransferSyntaxList pcList)
        {
            if (!pcList.Items.SequenceEqual(Items))
            {
                return(false);
            }

            return(true);
        }
Example #2
0
 // Copy constructor
 public TransferSyntaxList(TransferSyntaxList src)
 {
     _tsList = new Dictionary <string, TransferSyntaxEntry>();
     foreach (KeyValuePair <string, TransferSyntaxEntry> kvp in src._tsList)
     {
         string uid = kvp.Key;
         TransferSyntaxEntry pcEntry = null;
         if (kvp.Value != null)
         {
             pcEntry = new TransferSyntaxEntry(kvp.Value);
         }
         _tsList.Add(uid, pcEntry);
     }
 }