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