ResolveFfmpegAssemblyLocationEventArgs.cs 822 B

12345678910111213141516171819202122232425262728
  1. namespace Bmp.Core.FFMpeg.CsCorePorts.FFMpegWrap;
  2. /// <summary>
  3. /// Provides data for the <see cref="FfmpegUtils.ResolveFfmpegAssemblyLocation"/> event.
  4. /// </summary>
  5. public class ResolveFfmpegAssemblyLocationEventArgs : EventArgs
  6. {
  7. /// <summary>
  8. /// Gets the platform.
  9. /// </summary>
  10. /// <value>
  11. /// The platform.
  12. /// </value>
  13. public PlatformID Platform { get; private set; }
  14. /// <summary>
  15. /// Gets or sets the directory which contains the native Ffmpeg assemblies for the current <see cref="Platform"/> and architecture.
  16. /// </summary>
  17. /// <value>
  18. /// The ffmpeg directory.
  19. /// </value>
  20. public DirectoryInfo FfmpegDirectory { get; set; }
  21. internal ResolveFfmpegAssemblyLocationEventArgs(PlatformID platformId)
  22. {
  23. Platform = platformId;
  24. }
  25. }