2 implementations of IComponent
System.ComponentModel.Primitives (1)
System\ComponentModel\Component.cs (1)
11
public class Component : MarshalByRefObject,
IComponent
System.ComponentModel.TypeConverter (1)
System\ComponentModel\MarshalByValueComponent.cs (1)
17
public class MarshalByValueComponent :
IComponent
, IServiceProvider
77 references to IComponent
netstandard (1)
netstandard.cs (1)
328
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
IComponent
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
314
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.
IComponent
))]
System.ComponentModel.Primitives (14)
System\ComponentModel\Component.cs (1)
7
/// Provides the default implementation for the <see cref='System.ComponentModel.
IComponent
'/>
System\ComponentModel\ComponentCollection.cs (6)
10
public ComponentCollection(
IComponent
[] components) => InnerList.AddRange(components);
16
public virtual
IComponent
? this[string? name]
23
foreach (
IComponent
? comp in list)
39
public virtual
IComponent
? this[int index] => (
IComponent
?)InnerList[index];
41
public void CopyTo(
IComponent
[] array, int index) => InnerList.CopyTo(array, index);
System\ComponentModel\IComponent.cs (1)
31
/// associated with the <see cref='System.ComponentModel.
IComponent
'/>.
System\ComponentModel\IContainer.cs (5)
19
/// Adds the specified <see cref='System.ComponentModel.
IComponent
'/> to the
22
void Add(
IComponent
? component);
26
/// Adds the specified <see cref='System.ComponentModel.
IComponent
'/> to the
31
void Add(
IComponent
? component, string? name);
41
void Remove(
IComponent
? component);
System\ComponentModel\ISite.cs (1)
25
IComponent
Component { get; }
System.ComponentModel.TypeConverter (58)
System\ComponentModel\ComponentResourceManager.cs (2)
130
if (value is
IComponent
)
132
ISite? site = ((
IComponent
)value).Site;
System\ComponentModel\Container.cs (12)
28
public virtual void Add(
IComponent
? component) => Add(component, null);
36
public virtual void Add(
IComponent
? component, string? name)
78
/// Creates a Site <see cref='System.ComponentModel.ISite'/> for the given <see cref='System.ComponentModel.
IComponent
'/>
81
protected virtual ISite CreateSite(
IComponent
component, string? name)
143
IComponent
[] result = new
IComponent
[_siteCount];
181
public virtual void Remove(
IComponent
? component) => Remove(component, false);
183
private void Remove(
IComponent
? component, bool preserveSite)
212
protected void RemoveWithoutUnsiting(
IComponent
? component) => Remove(component, true);
220
protected virtual void ValidateName(
IComponent
component, string? name)
246
internal Site(
IComponent
component, Container container, string? name)
256
public
IComponent
Component { get; }
System\ComponentModel\Design\ComponentEventArgs.cs (2)
15
public virtual
IComponent
? Component { get; }
20
public ComponentEventArgs(
IComponent
? component)
System\ComponentModel\Design\IDesigner.cs (2)
16
IComponent
Component { get; }
31
void Initialize(
IComponent
component);
System\ComponentModel\Design\IDesignerHost.cs (5)
39
IComponent
RootComponent { get; }
94
IComponent
CreateComponent(Type componentClass);
99
IComponent
CreateComponent(Type componentClass, string name);
124
void DestroyComponent(
IComponent
component);
129
IDesigner? GetDesigner(
IComponent
component);
System\ComponentModel\Design\IEventPropertyService.cs (2)
18
string CreateUniqueMethodName(
IComponent
component, EventDescriptor e);
58
bool ShowCode(
IComponent
component, EventDescriptor e);
System\ComponentModel\Design\IInheritanceService.cs (2)
14
void AddInheritedComponents(
IComponent
component, IContainer container);
22
InheritanceAttribute GetInheritanceAttribute(
IComponent
component);
System\ComponentModel\Design\IReferenceService.cs (1)
15
IComponent
? GetComponent(object reference);
System\ComponentModel\Design\ITypeDescriptorFilterService.cs (3)
16
bool FilterAttributes(
IComponent
component, IDictionary attributes);
21
bool FilterEvents(
IComponent
component, IDictionary events);
26
bool FilterProperties(
IComponent
component, IDictionary properties);
System\ComponentModel\INestedContainer.cs (1)
19
IComponent
Owner { get; }
System\ComponentModel\MarshalByValueComponent.cs (1)
10
/// Provides the base implementation for <see cref='System.ComponentModel.
IComponent
'/>,
System\ComponentModel\MemberDescriptor.cs (1)
444
protected static ISite? GetSite(object? component) => (component as
IComponent
)?.Site;
System\ComponentModel\NestedContainer.cs (6)
21
public NestedContainer(
IComponent
owner)
32
public
IComponent
Owner { get; }
64
protected override ISite CreateSite(
IComponent
component, string? name)
108
internal Site(
IComponent
component, NestedContainer container, string? name)
116
public
IComponent
Component { get; }
131
IComponent
owner = ((NestedContainer)Container).Owner;
System\ComponentModel\ReferenceConverter.cs (2)
101
if (!Marshal.IsComObject(value) && value is
IComponent
comp)
154
foreach (
IComponent
obj in objs)
System\ComponentModel\ReflectPropertyDescriptor.cs (2)
924
IComponent
? comp = component as
IComponent
;
System\ComponentModel\ReflectTypeDescriptionProvider.cs (6)
322
IComponent
? comp = instance as
IComponent
;
654
IComponent
? component = instance as
IComponent
;
848
IComponent
? comp = component as
IComponent
;
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (2)
162
IComponent
? comp = instance as
IComponent
;
System\ComponentModel\TypeDescriptor.cs (6)
640
IComponent
? component = primary as
IComponent
;
1275
if (prov is
IComponent
component && component.Site != null)
1946
IComponent
? component = instance as
IComponent
;
2537
public static IDesigner? CreateDesigner(
IComponent
component, Type designerBaseType)
System.Configuration.ConfigurationManager (3)
System\Configuration\ApplicationSettingsBase.cs (3)
18
private readonly
IComponent
_owner;
42
protected ApplicationSettingsBase(
IComponent
owner) : this(owner, string.Empty)
57
protected ApplicationSettingsBase(
IComponent
owner, string settingsKey) : this(settingsKey)