2 implementations of Interface
System.Windows.Forms (1)
System\Windows\Forms\Application.ComponentThreadContext.cs (1)
19IMsoComponent.Interface,
System.Windows.Forms.Tests (1)
System\Windows\Forms\Application.ComponentManagerTests.cs (1)
342private class MockWrapper : IMsoComponent.Interface, IManagedWrapper<IMsoComponent>
58 references to Interface
System.Windows.Forms (11)
System\Windows\Forms\Application.ComponentThreadContext.cs (11)
356BOOL IMsoComponent.Interface.FDebugMessage(nint hInst, uint msg, WPARAM wparam, LPARAM lparam) 359BOOL IMsoComponent.Interface.FPreTranslateMessage(MSG* msg) 362void IMsoComponent.Interface.OnEnterState(msocstate uStateID, BOOL fEnter) 384void IMsoComponent.Interface.OnAppActivate(BOOL fActive, uint dwOtherThreadID) 388void IMsoComponent.Interface.OnLoseActivation() 392void IMsoComponent.Interface.OnActivationChange( 402BOOL IMsoComponent.Interface.FDoIdle(msoidlef grfidlef) 408BOOL IMsoComponent.Interface.FContinueMessageLoop( 466BOOL IMsoComponent.Interface.FQueryTerminate(BOOL fPromptUser) => true; 468void IMsoComponent.Interface.Terminate() 478HWND IMsoComponent.Interface.HwndGetWindow(msocWindow dwWhich, uint dwReserved) => HWND.Null;
System.Windows.Forms.Primitives (23)
Microsoft\Office\IMsoComponent.cs (23)
11/// <inheritdoc cref="Interface"/> 51=> UnwrapAndInvoke<IMsoComponent, Interface, BOOL>(@this, o => o.FDebugMessage(hInst, msg, wParam, lParam)); 55=> UnwrapAndInvoke<IMsoComponent, Interface, BOOL>(@this, o => o.FPreTranslateMessage(msg)); 59=> UnwrapAndInvoke<IMsoComponent, Interface>(@this, o => o.OnEnterState(uStateID, fEnter)); 63=> UnwrapAndInvoke<IMsoComponent, Interface>(@this, o => o.OnAppActivate(fActive, dwOtherThreadID)); 67=> UnwrapAndInvoke<IMsoComponent, Interface>(@this, o => o.OnLoseActivation()); 78=> UnwrapAndInvoke<IMsoComponent, Interface>( 84=> UnwrapAndInvoke<IMsoComponent, Interface, BOOL>(@this, o => o.FDoIdle(grfidlef)); 88=> UnwrapAndInvoke<IMsoComponent, Interface, BOOL>(@this, o => o.FContinueMessageLoop(uReason, pvLoopData, pMsgPeeked)); 92=> UnwrapAndInvoke<IMsoComponent, Interface, BOOL>(@this, o => o.FQueryTerminate(fPromptUser)); 96=> UnwrapAndInvoke<IMsoComponent, Interface>(@this, o => o.Terminate()); 100=> UnwrapAndInvoke<IMsoComponent, Interface, HWND>(@this, o => o.HwndGetWindow(dwWhich, dwReserved)); 145/// <inheritdoc cref="Interface.FDebugMessage(nint, uint, WPARAM, LPARAM)"/> 153/// <inheritdoc cref="Interface.FPreTranslateMessage(MSG*)"/> 160/// <inheritdoc cref="Interface.OnEnterState(msocstate, BOOL)"/> 167/// <inheritdoc cref="Interface.OnAppActivate(BOOL, uint)"/> 174/// <inheritdoc cref="Interface.OnLoseActivation()"/> 181/// <inheritdoc cref="Interface.OnActivationChange(IMsoComponent*, BOOL, MSOCRINFO*, BOOL, nint, uint)"/> 189/// <inheritdoc cref="Interface.FDoIdle(msoidlef)"/> 196/// <inheritdoc cref="Interface.FContinueMessageLoop(msoloop, void*, MSG*)"/> 204/// <inheritdoc cref="Interface.FQueryTerminate(BOOL)"/> 211/// <inheritdoc cref="Interface.Terminate()"/> 218/// <inheritdoc cref="Interface.HwndGetWindow(msocWindow, uint)"/>
System.Windows.Forms.Tests (24)
System\Windows\Forms\Application.ComponentManagerTests.cs (24)
44Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 58Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 71Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 91Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 107Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 121Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 152Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 183Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 214Mock<IMsoComponent.Interface> mock = new(MockBehavior.Strict); 297Mock<IMsoComponent.Interface> mock1 = new(MockBehavior.Strict); 300Mock<IMsoComponent.Interface> mock2 = new(MockBehavior.Strict); 344private readonly IMsoComponent.Interface _mock; 345public MockWrapper(IMsoComponent.Interface mock) => _mock = mock; 347BOOL IMsoComponent.Interface.FDebugMessage(nint hInst, uint msg, WPARAM wParam, LPARAM lParam) 350BOOL IMsoComponent.Interface.FPreTranslateMessage(MSG* msg) 353void IMsoComponent.Interface.OnEnterState(msocstate uStateID, BOOL fEnter) 356void IMsoComponent.Interface.OnAppActivate(BOOL fActive, uint dwOtherThreadID) 359void IMsoComponent.Interface.OnLoseActivation() => _mock.OnLoseActivation(); 361void IMsoComponent.Interface.OnActivationChange( 369BOOL IMsoComponent.Interface.FDoIdle(msoidlef grfidlef) => _mock.FDoIdle(grfidlef); 371BOOL IMsoComponent.Interface.FContinueMessageLoop( 376BOOL IMsoComponent.Interface.FQueryTerminate(BOOL fPromptUser) => _mock.FQueryTerminate(fPromptUser); 378void IMsoComponent.Interface.Terminate() => _mock.Terminate(); 380HWND IMsoComponent.Interface.HwndGetWindow(msocWindow uWhich, uint dwReserved)