/// <summary> /// Initializes a new instance of the <see cref="ImageSourceFromWic"/>. /// </summary> public ImageSourceFromWic(DeviceContext2 context2, WIC.BitmapSource wicBitmapSource, ImageSourceLoadingOptions loadingOptions, AlphaMode alphaMode) : this(IntPtr.Zero) { context2.CreateImageSourceFromWic(wicBitmapSource, loadingOptions, alphaMode, this); }