public static IDeviceContext CreateRef(this IDeviceContext objectRef) => ((IDeviceContext)objectRef.CreateRef(typeof(IDeviceContext)));