2 writes to _axInstance
PresentationFramework (2)
src\Framework\System\Windows\Interop\ActiveXHost.cs (2)
639
_axInstance
= CreateActiveXObject(_clsid.Value);
680
_axInstance
= null;
10 references to _axInstance
PresentationFramework (10)
src\Framework\System\Windows\Interop\ActiveXHost.cs (10)
637
Debug.Assert(
_axInstance
== null, "_axInstance must be null");
640
Debug.Assert(
_axInstance
!= null, "w/o an exception being thrown we must have an object...");
673
if (
_axInstance
!= null)
679
Marshal.FinalReleaseComObject(
_axInstance
);
933
return
_axInstance
;
1096
Debug.Assert(
_axInstance
!= null, "The native control is null");
1097
_axOleObject = (UnsafeNativeMethods.IOleObject)
_axInstance
;
1098
_axOleInPlaceObject = (UnsafeNativeMethods.IOleInPlaceObject)
_axInstance
;
1099
_axOleInPlaceActiveObject = (UnsafeNativeMethods.IOleInPlaceActiveObject)
_axInstance
;
1103
AttachInterfaces(
_axInstance
);