Exemple #1
0
 public ArgumentHintValue this[string key]
 {
     get
     {
         uint tag;
         if (!uint.TryParse(key, NumberStyles.AllowHexSpecifier, CultureInfo.CurrentCulture.NumberFormat, out tag))
             return ArgumentHintValue.Empty;
         DicomAttribute attribute;
         if (!_dataSource.TryGetAttribute(tag, out attribute) || attribute == null || attribute.IsEmpty)
             return ArgumentHintValue.Empty;
         return new ArgumentHintValue(attribute.ToString());
     }
 }
 public override bool TryGetAttribute(DicomTag tag, out DicomAttribute attribute)
 {
     return(_sopDataSource.TryGetAttribute(tag, out attribute));
 }