1 implementation of IInheritanceService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\InheritanceService.cs (1)
14
public 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)
302
IInheritanceService
? inheritanceService = null;
315
inheritanceService = Context?.GetService<
IInheritanceService
>();
System\ComponentModel\Design\ComponentDesigner.cs (1)
97
if (TryGetService(out
IInheritanceService
? inheritanceService))
System\Windows\Forms\Design\DocumentDesigner.cs (2)
476
host.RemoveService<
IInheritanceService
>();
725
host.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
)))
239
Mock<
IInheritanceService
> mockInheritanceService = new(MockBehavior.Strict);
247
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Exactly(expectedCallCount1));
252
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Exactly(expectedCallCount2));
274
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Once());
279
mockSite.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
)))
2061
mockSite.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
)))