Пример #1
0
 /// <summary>
 /// Dump the contents of the message to a StringBuilder.
 /// </summary>
 /// <param name="sb"></param>
 /// <param name="prefix"></param>
 /// <param name="options"></param>
 public override void Dump(StringBuilder sb, string prefix, DicomDumpOptions options)
 {
     if (sb == null)
     {
         throw new NullReferenceException("sb");
     }
     sb.Append(prefix).Append("Command Elements:").AppendLine();
     MetaInfo.Dump(sb, prefix, options);
     sb.AppendLine().Append(prefix).Append("Data Set:").AppendLine();
     DataSet.Dump(sb, prefix, options);
     sb.AppendLine();
 }