1 implementation of ITypeDiscoveryService
DesignSurfaceExt (1)
TypeDiscoveryService.cs (1)
15
internal sealed class TypeDiscoveryService :
ITypeDiscoveryService
22 references to ITypeDiscoveryService
DesignSurfaceExt (1)
DesignSurfaceExt.cs (1)
336
ServiceContainer.AddService(typeof(
ITypeDiscoveryService
), new TypeDiscoveryService());
netstandard (1)
netstandard.cs (1)
272
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
ITypeDiscoveryService
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
258
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.
ITypeDiscoveryService
))]
System.Windows.Forms.Design (16)
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (2)
665
ITypeDiscoveryService
? discoveryService = host.GetService<
ITypeDiscoveryService
>();
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.cs (3)
30
ITypeDiscoveryService
? discoveryService = null;
33
discoveryService = host.GetService(typeof(
ITypeDiscoveryService
)) as
ITypeDiscoveryService
;
System\Windows\Forms\Design\DataGridViewColumnTypeEditor.Picker.cs (1)
77
public void Start(IWindowsFormsEditorService edSvc,
ITypeDiscoveryService
discoveryService, Type defaultType)
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
366
public void DiscoverMaskDescriptors(
ITypeDiscoveryService
? discoveryService)
System\Windows\Forms\Design\MaskedTextBoxDesignerActionList.cs (3)
16
private readonly
ITypeDiscoveryService
? _discoverySvc;
29
_discoverySvc = GetService(typeof(
ITypeDiscoveryService
)) as
ITypeDiscoveryService
;
System\Windows\Forms\Design\MaskPropertyEditor.cs (2)
24
ITypeDiscoveryService
? discoveryService,
66
provider.GetService<
ITypeDiscoveryService
>(),
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (4)
237
ITypeDiscoveryService
discoveryService = null;
240
discoveryService = serviceProvider.GetService(typeof(
ITypeDiscoveryService
)) as
ITypeDiscoveryService
;
246
public static Type[] GetCustomItemTypes(IComponent component,
ITypeDiscoveryService
discoveryService)
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\MaskDesignerDialogTests.cs (1)
77
Mock<
ITypeDiscoveryService
> mockDiscoveryService = new();
System\Windows\Forms\Design\MaskedTextBoxDesignerActionListTests.cs (2)
14
private readonly Mock<
ITypeDiscoveryService
> _mockTypeDiscoveryService;
35
mockSite.Setup(s => s.GetService(typeof(
ITypeDiscoveryService
))).Returns(_mockTypeDiscoveryService.Object);