1 implementation of IEventBindingService
System.Windows.Forms.Design (1)
System\ComponentModel\Design\EventBindingService.cs (1)
14
public 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)
18
protected
IEventBindingService
? _eventBindings;
32
private 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)
35
if (GetEventBindingService(obj, context: null) is not
IEventBindingService
eventPropertyService)
48
/// Returns the most relevant <see cref="
IEventBindingService
"/>.
56
private
IEventBindingService
? GetEventBindingService(object @object, ITypeDescriptorContext? context)
68
if (_currentHost.TryGetService(out
IEventBindingService
? hostEventBindingService))
75
if (component.Site.TryGetService(out
IEventBindingService
? siteEventBindingService))
81
if (context.TryGetService(out
IEventBindingService
? contextEventBindingService))
94
/// The <see cref="EventsTab"/> uses <see cref="
IEventBindingService
.GetEventProperties(EventDescriptorCollection)"/>
102
if (GetEventBindingService(component, context) is not
IEventBindingService
eventBindingService)
System.Windows.Forms.Design (28)
System\ComponentModel\Design\ComponentDesigner.cs (1)
250
if (!TryGetService(out
IEventBindingService
? ebs)
System\ComponentModel\Design\EventBindingService.cs (9)
108
string
IEventBindingService
.CreateUniqueMethodName(IComponent component, EventDescriptor e)
120
ICollection
IEventBindingService
.GetCompatibleMethods(EventDescriptor e)
131
EventDescriptor?
IEventBindingService
.GetEvent(PropertyDescriptor property)
172
PropertyDescriptorCollection
IEventBindingService
.GetEventProperties(EventDescriptorCollection events)
197
PropertyDescriptor
IEventBindingService
.GetEventProperty(EventDescriptor e)
210
bool
IEventBindingService
.ShowCode()
219
bool
IEventBindingService
.ShowCode(int lineNumber)
228
bool
IEventBindingService
.ShowCode(IComponent component, EventDescriptor e)
233
PropertyDescriptor prop = ((
IEventBindingService
)this).GetEventProperty(e);
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
362
if (context.TryGetService(out
IEventBindingService
? ebs))
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (4)
416
if (comp is not null && manager.GetService(typeof(
IEventBindingService
)) is
IEventBindingService
ebs)
577
IEventBindingService
? ebs = manager.GetService<
IEventBindingService
>();
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (4)
498
IEventBindingService
? evtSvc = manager.GetService<
IEventBindingService
>();
1232
IEventBindingService
? evtSvc = manager.GetService<
IEventBindingService
>();
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (2)
37
IEventBindingService
? eventBindings = manager.GetService<
IEventBindingService
>();
System\Windows\Forms\Design\CommandSet.cs (1)
1957
if (TryGetService(out
IEventBindingService
? evs))
System\Windows\Forms\Design\ComponentTray.cs (6)
1031
IEventBindingService
eps = (
IEventBindingService
)GetService(typeof(
IEventBindingService
));
2455
IEventBindingService
eps = (
IEventBindingService
)GetService(typeof(
IEventBindingService
));