public ExifSignedRationalArray(ExifTag <SignedRational[]> tag) : base(tag) { }
public ExifLong(ExifTag <uint> tag) : base(tag) { }
internal ExifSignedRational(ExifTag <SignedRational> tag) : base(tag) { }
public ExifShortArray(ExifTag <ushort[]> tag) : base(tag) { }
protected ExifArrayValue(ExifTag <TValueType[]> tag) : base(tag) { }
public ExifString(ExifTag <string> tag) : base(tag) { }
public ExifShort(ExifTag <ushort> tag) : base(tag) { }
public ExifByteArray(ExifTag <byte[]> tag, ExifDataType dataType) : base(tag) => this.DataType = dataType;
private static IExifValue GetOffsetValue(List <IExifValue> ifdValues, List <IExifValue> values, ExifTag offset) { int index = -1; for (int i = 0; i < ifdValues.Count; i++) { if (ifdValues[i].Tag == offset) { index = i; } } if (values.Count > 0) { if (index != -1) { return(ifdValues[index]); } ExifValue result = ExifValues.Create(offset); ifdValues.Add(result); return(result); } else if (index != -1) { ifdValues.RemoveAt(index); } return(null); }
public ExifDouble(ExifTag <double> tag) : base(tag) { }
public ExifRationalArray(ExifTag <Rational[]> tag) : base(tag) { }
/// <summary> /// Sets the value of the specified tag. /// </summary> /// <param name="tag">The tag of the exif value.</param> /// <param name="value">The value.</param> /// <typeparam name="TValueType">The data type of the tag.</typeparam> public void SetValue <TValueType>(ExifTag <TValueType> tag, TValueType value) => this.SetValueInternal(tag, value);
/// <summary> /// Returns the value with the specified tag. /// </summary> /// <param name="tag">The tag of the exif value.</param> /// <returns>The value with the specified tag.</returns> /// <typeparam name="TValueType">The data type of the tag.</typeparam> public IExifValue <TValueType> GetValue <TValueType>(ExifTag <TValueType> tag) { IExifValue value = this.GetValueInternal(tag); return(value is null ? null : (IExifValue <TValueType>)value); }
public ExifNumberArray(ExifTag <Number[]> tag) : base(tag) { }