Browse Source

Add UnsafeSetFormatMetadata in ImageFrameMetadata

Signed-off-by: 舰队的偶像-岛风酱! <frg2089@outlook.com>
pull/2579/head
舰队的偶像-岛风酱! 2 years ago
parent
commit
11293824e3
No known key found for this signature in database GPG Key ID: 71F5B3A2B181950C
  1. 5
      src/ImageSharp/Metadata/ImageFrameMetadata.cs

5
src/ImageSharp/Metadata/ImageFrameMetadata.cs

@ -99,6 +99,11 @@ public sealed class ImageFrameMetadata : IDeepCloneable<ImageFrameMetadata>
return newMeta;
}
internal void UnsafeSetFormatMetadata(
IImageFormat key,
IDeepCloneable value)
=> this.formatMetadata[key] = value;
/// <summary>
/// Gets the metadata value associated with the specified key.
/// </summary>

Loading…
Cancel
Save