13 implementations of IExtenderProvider
System.Windows.Forms (6)
System\Windows\Forms\Design\PropertyTab.cs (1)
30
public abstract class PropertyTab :
IExtenderProvider
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
23
public partial class ErrorProvider : Component,
IExtenderProvider
, ISupportInitialize
System\Windows\Forms\Help\HelpProvider.cs (1)
18
public class HelpProvider : Component,
IExtenderProvider
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
14
public class FlowLayoutPanel : Panel,
IExtenderProvider
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
22
public class TableLayoutPanel : Panel,
IExtenderProvider
System\Windows\Forms\ToolTip\ToolTip.cs (1)
17
public partial class ToolTip : Component,
IExtenderProvider
, IHandle<HWND>
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersExtenderProvider.cs (1)
16
private class ModifiersExtenderProvider :
IExtenderProvider
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifiersInheritedExtenderProvider.cs (1)
17
private class ModifiersInheritedExtenderProvider :
IExtenderProvider
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageExtenders.cs (1)
18
internal class LanguageExtenders :
IExtenderProvider
System\Windows\Forms\Design\ComponentTray.cs (1)
25
public class ComponentTray : ScrollableControl,
IExtenderProvider
, ISelectionUIHandler, IOleDragClient
System\Windows\Forms\Design\DesignerExtenders.NameExtenderProvider.cs (1)
16
private class NameExtenderProvider :
IExtenderProvider
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3209
private class RootExtenderProviderDesignerComponent : Component,
IExtenderProvider
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1076
private class RootExtenderProviderDesignerComponent : Component,
IExtenderProvider
115 references to IExtenderProvider
netstandard (1)
netstandard.cs (1)
333
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
IExtenderProvider
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
319
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
IExtenderProvider
))]
System.ComponentModel.TypeConverter (42)
System\ComponentModel\DelegatingTypeDescriptionProvider.cs (1)
89
protected internal override
IExtenderProvider
[] GetExtenderProviders(object instance)
System\ComponentModel\Design\IExtenderListService.cs (1)
14
IExtenderProvider
[] GetExtenderProviders();
System\ComponentModel\Design\IExtenderProviderService.cs (2)
14
void AddExtenderProvider(
IExtenderProvider
provider);
19
void RemoveExtenderProvider(
IExtenderProvider
provider);
System\ComponentModel\ExtendedPropertyDescriptor.cs (2)
16
private readonly
IExtenderProvider
_provider; // the object providing it
22
public ExtendedPropertyDescriptor(ReflectPropertyDescriptor extenderInfo, Type? receiverType,
IExtenderProvider
provider, Attribute[]? attributes)
System\ComponentModel\ExtenderProvidedPropertyAttribute.cs (2)
19
internal static ExtenderProvidedPropertyAttribute Create(PropertyDescriptor? extenderProperty, Type? receiverType,
IExtenderProvider
? provider)
44
public
IExtenderProvider
? Provider { get; private set; }
System\ComponentModel\ReflectPropertyDescriptor.cs (15)
526
internal bool ExtenderCanResetValue(
IExtenderProvider
provider, object component)
541
IExtenderProvider
? prov = (
IExtenderProvider
?)GetInvocationTarget(_componentClass, provider);
556
internal object? ExtenderGetValue(
IExtenderProvider
? provider, object? component)
560
IExtenderProvider
? prov = (
IExtenderProvider
?)GetInvocationTarget(_componentClass, provider);
566
internal void ExtenderResetValue(
IExtenderProvider
provider, object component, PropertyDescriptor notifyDesc)
607
IExtenderProvider
? prov = (
IExtenderProvider
?)GetInvocationTarget(_componentClass, provider);
622
internal void ExtenderSetValue(
IExtenderProvider
? provider, object? component, object? value, PropertyDescriptor notifyDesc)
654
IExtenderProvider
? prov = (
IExtenderProvider
?)GetInvocationTarget(_componentClass, provider);
666
internal bool ExtenderShouldSerializeValue(
IExtenderProvider
provider, object component)
668
IExtenderProvider
? prov = (
IExtenderProvider
?)GetInvocationTarget(_componentClass, provider);
System\ComponentModel\ReflectTypeDescriptionProvider.cs (15)
572
IExtenderProvider
[] extenders = GetExtenderProviders(instance);
649
protected internal override
IExtenderProvider
[] GetExtenderProviders(object instance)
672
return Array.Empty<
IExtenderProvider
>();
684
private static
IExtenderProvider
[] GetExtenders(ICollection components, object instance, IDictionary? cache)
688
IExtenderProvider
[]? existingExtenders = null;
700
IExtenderProvider
[]? currentExtenders = components as
IExtenderProvider
[];
704
existingExtenders = cache[ExtenderProviderKey] as
IExtenderProvider
[];
736
IExtenderProvider
? prov = obj as
IExtenderProvider
;
758
IExtenderProvider
[] newExtenderArray = new
IExtenderProvider
[extenderCount];
781
IExtenderProvider
? p = component as
IExtenderProvider
;
1236
private static PropertyDescriptor[] ReflectGetExtendedProperties(
IExtenderProvider
provider)
System\ComponentModel\TypeDescriptionProvider.cs (2)
142
protected internal virtual
IExtenderProvider
[] GetExtenderProviders(object instance)
151
return Array.Empty<
IExtenderProvider
>();
System\ComponentModel\TypeDescriptor.cs (2)
1274
IExtenderProvider
? prov = exAttr?.Provider;
3306
protected internal override
IExtenderProvider
[] GetExtenderProviders(object instance)
System.Windows.Forms (2)
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
53
bool
IExtenderProvider
.CanExtend(object obj) => obj is Control control && control.Parent == this;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
176
bool
IExtenderProvider
.CanExtend(object obj) =>
System.Windows.Forms.Design (15)
System\ComponentModel\Design\DesignerHost.cs (5)
233
if (component is
IExtenderProvider
extenderComponent
287
if (designer is
IExtenderProvider
extenderProvider)
321
if (loader is
IExtenderProvider
extenderProvider && this.TryGetService(out IExtenderProviderService? eps))
646
if (component is
IExtenderProvider
extenderComponent && this.TryGetService(out IExtenderProviderService? eps))
654
if (designer is
IExtenderProvider
extenderDesigner && this.TryGetService(out eps))
System\ComponentModel\Design\ExtenderProviderService.cs (4)
13
private List<
IExtenderProvider
>? _providers;
22
IExtenderProvider
[] IExtenderListService.GetExtenderProviders() =>
28
void IExtenderProviderService.AddExtenderProvider(
IExtenderProvider
provider)
45
void IExtenderProviderService.RemoveExtenderProvider(
IExtenderProvider
provider)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (3)
37
private
IExtenderProvider
[]? _extenderProviders;
112
foreach (
IExtenderProvider
provider in _extenderProviders!)
615
foreach (
IExtenderProvider
p in _extenderProviders)
System\ComponentModel\Design\Serialization\ComponentCache.cs (1)
193
if (ce.Component is not null and not
IExtenderProvider
)
System\Windows\Forms\Design\ComponentTray.cs (1)
481
bool
IExtenderProvider
.CanExtend(object extendee)
System\Windows\Forms\Design\DesignerExtenders.cs (1)
15
private
IExtenderProvider
[]? _providers;
System.Windows.Forms.Design.Tests (50)
System\ComponentModel\Design\DesignerHostTests.cs (19)
402
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
))
405
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
));
432
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedCallCount));
439
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedCallCount));
446
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedCallCount));
473
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
))
476
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
));
502
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
509
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
516
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
2593
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
));
2595
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
))
2629
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedRemoveCallCount));
2636
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedRemoveCallCount));
2663
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
))
2666
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
));
2692
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
2699
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Never());
2706
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Never());
System\ComponentModel\Design\DesignSurfaceTests.cs (4)
628
var mockExtenderProvider = mockLoader.As<
IExtenderProvider
>();
648
.Setup(s => s.AddExtenderProvider(It.IsAny<
IExtenderProvider
>()))
668
var mockExtenderProvider = mockLoader.As<
IExtenderProvider
>();
713
var mockExtenderProvider = mockLoader.As<
IExtenderProvider
>();
System\ComponentModel\Design\ExtenderProviderServiceTests.cs (6)
26
Mock<
IExtenderProvider
> mockExtenderProvider1 = new(MockBehavior.Strict);
27
Mock<
IExtenderProvider
> mockExtenderProvider2 = new(MockBehavior.Strict);
53
Mock<
IExtenderProvider
> mockExtenderProvider = new(MockBehavior.Strict);
66
Mock<
IExtenderProvider
> mockExtenderProvider1 = new(MockBehavior.Strict);
67
Mock<
IExtenderProvider
> mockExtenderProvider2 = new(MockBehavior.Strict);
91
Mock<
IExtenderProvider
> mockExtenderProvider = new(MockBehavior.Strict);
System\ComponentModel\Design\SiteNestedContainerTests.cs (19)
306
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
))
309
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
));
341
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedCallCount));
348
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedCallCount * 2));
355
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedCallCount * 3));
382
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
))
385
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
));
412
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
429
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
444
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
729
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
));
731
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
))
760
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedRemoveCallCount));
767
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Exactly(expectedRemoveCallCount));
794
.Setup(s => s.AddExtenderProvider(component as
IExtenderProvider
))
797
.Setup(s => s.RemoveExtenderProvider(component as
IExtenderProvider
));
818
mockExtenderProviderService.Verify(s => s.AddExtenderProvider(component as
IExtenderProvider
), Times.Never());
825
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Never());
832
mockExtenderProviderService.Verify(s => s.RemoveExtenderProvider(component as
IExtenderProvider
), Times.Never());
System\Windows\Forms\Design\DesignerExtendersTests.cs (2)
20
IExtenderProvider
[] providers = designerExtenders.TestAccessor().Dynamic._providers;
27
extenderServiceMock.Verify(s => s.RemoveExtenderProvider(It.IsAny<
IExtenderProvider
>()), Times.Exactly(2));
System.Windows.Forms.Tests (4)
System\Windows\Forms\FlowLayoutPanelTests.cs (2)
219
IExtenderProvider
extenderProvider = control;
236
IExtenderProvider
extenderProvider = control;
System\Windows\Forms\TableLayoutPanelTests.cs (2)
2118
IExtenderProvider
extenderProvider = control;
2134
IExtenderProvider
extenderProvider = control;