1 implementation of IEventBindingService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\EventBindingService.cs (1)
14public abstract partial class EventBindingService : IEventBindingService
45 references to IEventBindingService
netstandard (1)
netstandard.cs (1)
259[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.IEventBindingService))]
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
245[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.IEventBindingService))]
System.Windows.Forms (15)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (1)
313_eventBindings ??= this.GetService<IEventBindingService>();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.cs (6)
18protected IEventBindingService? _eventBindings; 32private static IEventBindingService? s_targetBindingService; 457_eventBindings ??= this.GetService<IEventBindingService>(); 623_eventBindings ??= this.GetService<IEventBindingService>(); 823_eventBindings ??= this.GetService<IEventBindingService>(); 852_eventBindings ??= component.Site?.GetService<IEventBindingService>();
System\Windows\Forms\Design\EventsTab.cs (8)
35if (GetEventBindingService(obj, context: null) is not IEventBindingService eventPropertyService) 48/// Returns the most relevant <see cref="IEventBindingService"/>. 56private IEventBindingService? GetEventBindingService(object @object, ITypeDescriptorContext? context) 68if (_currentHost.TryGetService(out IEventBindingService? hostEventBindingService)) 75if (component.Site.TryGetService(out IEventBindingService? siteEventBindingService)) 81if (context.TryGetService(out IEventBindingService? contextEventBindingService)) 94/// The <see cref="EventsTab"/> uses <see cref="IEventBindingService.GetEventProperties(EventDescriptorCollection)"/> 102if (GetEventBindingService(component, context) is not IEventBindingService eventBindingService)
System.Windows.Forms.Design (28)
System\ComponentModel\Design\ComponentDesigner.cs (1)
250if (!TryGetService(out IEventBindingService? ebs)
System\ComponentModel\Design\EventBindingService.cs (9)
108string IEventBindingService.CreateUniqueMethodName(IComponent component, EventDescriptor e) 120ICollection IEventBindingService.GetCompatibleMethods(EventDescriptor e) 131EventDescriptor? IEventBindingService.GetEvent(PropertyDescriptor property) 172PropertyDescriptorCollection IEventBindingService.GetEventProperties(EventDescriptorCollection events) 197PropertyDescriptor IEventBindingService.GetEventProperty(EventDescriptor e) 210bool IEventBindingService.ShowCode() 219bool IEventBindingService.ShowCode(int lineNumber) 228bool IEventBindingService.ShowCode(IComponent component, EventDescriptor e) 233PropertyDescriptor prop = ((IEventBindingService)this).GetEventProperty(e);
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
362if (context.TryGetService(out IEventBindingService? ebs))
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (4)
416if (comp is not null && manager.GetService(typeof(IEventBindingService)) is IEventBindingService ebs) 577IEventBindingService? ebs = manager.GetService<IEventBindingService>();
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (4)
498IEventBindingService? evtSvc = manager.GetService<IEventBindingService>(); 1232IEventBindingService? evtSvc = manager.GetService<IEventBindingService>();
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (2)
37IEventBindingService? eventBindings = manager.GetService<IEventBindingService>();
System\Windows\Forms\Design\CommandSet.cs (1)
1957if (TryGetService(out IEventBindingService? evs))
System\Windows\Forms\Design\ComponentTray.cs (6)
1031IEventBindingService eps = (IEventBindingService)GetService(typeof(IEventBindingService)); 2455IEventBindingService eps = (IEventBindingService)GetService(typeof(IEventBindingService));