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)
488
host.RemoveService<
IInheritanceService
>();
737
host.AddService<
IInheritanceService
>(isvc);
System.Windows.Forms.Design.Tests (42)
Mocks\MockSite.cs (1)
19
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
System\ComponentModel\Design\ComponentDesignerTests.cs (29)
213
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
237
Mock<
IInheritanceService
> mockInheritanceService = new(MockBehavior.Strict);
245
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Exactly(expectedCallCount1));
250
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Exactly(expectedCallCount2));
272
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Once());
277
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Once());
505
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
578
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
809
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
924
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1033
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1141
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1234
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1325
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1419
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1526
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1624
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1703
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1765
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1821
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1897
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
1967
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
2036
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
2059
mockSite.Verify(s => s.GetService(typeof(
IInheritanceService
)), Times.Once());
2096
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
2147
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
2207
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
2619
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
2657
.Setup(s => s.GetService(typeof(
IInheritanceService
)))
System\ComponentModel\Design\DesignerHostTests.cs (5)
206
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
227
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
259
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
781
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
1540
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
138
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
System\ComponentModel\Design\SiteNestedContainerTests.cs (5)
118
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
133
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
159
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
321
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
397
.Setup(p => p.GetService(typeof(
IInheritanceService
)))
TestControlDesigner.Mocks.cs (1)
51
.Setup(s => s.GetService(typeof(
IInheritanceService
)))