コード例 #1
0
ファイル: ExifTag.cs プロジェクト: jcorteze/Delta.Imaging
 private void ParseId()
 {
     if (Enum.IsDefined(typeof(ExifTagId), idValue))
     {
         id = (ExifTagId)idValue;
         if (Exif.Labels.ContainsKey(id))
         {
             idLabel = Exif.Labels[id];
         }
         else
         {
             idLabel = id.ToString();
         }
     }
 }
コード例 #2
0
ファイル: ExifTag.cs プロジェクト: jcorteze/Delta.Imaging
 /// <summary>
 /// Indicates whether the current object is equal to another object of the same type.
 /// </summary>
 /// <param name="other">An object to compare with this object.</param>
 /// <returns>
 /// true if the current object is equal to the <paramref name="other"/> parameter; otherwise, false.
 /// </returns>
 public bool Equals(ExifTagId other)
 {
     return((int)other == idValue);
 }