Bombsquad.Exif.Helpers.BitmapMetadataExtensions.ReadUnsignedRational C# (CSharp) Method

ReadUnsignedRational() public static method

public static ReadUnsignedRational ( this metadata, string query ) : double?
metadata this
query string
return double?
        public static double? ReadUnsignedRational( this BitmapMetadata metadata, string query )
        {
            var value = metadata.ReadULong( query );
            return value.HasValue
                ? ConvertToUnsignedRational( value.Value )
                : (double?) null;
        }