1 implementation of IInheritanceService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\InheritanceService.cs (1)
14public class InheritanceService : IInheritanceService, IDisposable
49 references to IInheritanceService
netstandard (1)
netstandard.cs (1)
263[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.IInheritanceService))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
249[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.IInheritanceService))]
System.Windows.Forms.Design (5)
System\ComponentModel\Design\CollectionEditor.cs (2)
302IInheritanceService? inheritanceService = null; 315inheritanceService = Context?.GetService<IInheritanceService>();
System\ComponentModel\Design\ComponentDesigner.cs (1)
97if (TryGetService(out IInheritanceService? inheritanceService))
System\Windows\Forms\Design\DocumentDesigner.cs (2)
476host.RemoveService<IInheritanceService>(); 725host.AddService<IInheritanceService>(isvc);
System.Windows.Forms.Design.Tests (42)
Mocks\MockSite.cs (1)
21.Setup(s => s.GetService(typeof(IInheritanceService)))
System\ComponentModel\Design\ComponentDesignerTests.cs (29)
215.Setup(s => s.GetService(typeof(IInheritanceService))) 239Mock<IInheritanceService> mockInheritanceService = new(MockBehavior.Strict); 247mockSite.Verify(s => s.GetService(typeof(IInheritanceService)), Times.Exactly(expectedCallCount1)); 252mockSite.Verify(s => s.GetService(typeof(IInheritanceService)), Times.Exactly(expectedCallCount2)); 274mockSite.Verify(s => s.GetService(typeof(IInheritanceService)), Times.Once()); 279mockSite.Verify(s => s.GetService(typeof(IInheritanceService)), Times.Once()); 507.Setup(s => s.GetService(typeof(IInheritanceService))) 580.Setup(s => s.GetService(typeof(IInheritanceService))) 811.Setup(s => s.GetService(typeof(IInheritanceService))) 926.Setup(s => s.GetService(typeof(IInheritanceService))) 1035.Setup(s => s.GetService(typeof(IInheritanceService))) 1143.Setup(s => s.GetService(typeof(IInheritanceService))) 1236.Setup(s => s.GetService(typeof(IInheritanceService))) 1327.Setup(s => s.GetService(typeof(IInheritanceService))) 1421.Setup(s => s.GetService(typeof(IInheritanceService))) 1528.Setup(s => s.GetService(typeof(IInheritanceService))) 1626.Setup(s => s.GetService(typeof(IInheritanceService))) 1705.Setup(s => s.GetService(typeof(IInheritanceService))) 1767.Setup(s => s.GetService(typeof(IInheritanceService))) 1823.Setup(s => s.GetService(typeof(IInheritanceService))) 1899.Setup(s => s.GetService(typeof(IInheritanceService))) 1969.Setup(s => s.GetService(typeof(IInheritanceService))) 2038.Setup(s => s.GetService(typeof(IInheritanceService))) 2061mockSite.Verify(s => s.GetService(typeof(IInheritanceService)), Times.Once()); 2098.Setup(s => s.GetService(typeof(IInheritanceService))) 2149.Setup(s => s.GetService(typeof(IInheritanceService))) 2209.Setup(s => s.GetService(typeof(IInheritanceService))) 2621.Setup(s => s.GetService(typeof(IInheritanceService))) 2659.Setup(s => s.GetService(typeof(IInheritanceService)))
System\ComponentModel\Design\DesignerHostTests.cs (5)
208.Setup(p => p.GetService(typeof(IInheritanceService))) 229.Setup(p => p.GetService(typeof(IInheritanceService))) 261.Setup(p => p.GetService(typeof(IInheritanceService))) 783.Setup(p => p.GetService(typeof(IInheritanceService))) 1542.Setup(p => p.GetService(typeof(IInheritanceService)))
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
140.Setup(p => p.GetService(typeof(IInheritanceService)))
System\ComponentModel\Design\SiteNestedContainerTests.cs (5)
120.Setup(p => p.GetService(typeof(IInheritanceService))) 135.Setup(p => p.GetService(typeof(IInheritanceService))) 161.Setup(p => p.GetService(typeof(IInheritanceService))) 323.Setup(p => p.GetService(typeof(IInheritanceService))) 399.Setup(p => p.GetService(typeof(IInheritanceService)))
TestControlDesigner.Mocks.cs (1)
49.Setup(s => s.GetService(typeof(IInheritanceService)))