public static IBitmapFrameDecode CreateRef(this IBitmapFrameDecode objectRef) => ((IBitmapFrameDecode)objectRef.CreateRef(typeof(IBitmapFrameDecode)));
public PlatformBitmapFrame(IBitmapFrameDecode frame) { _frame = frame; }