28 instantiations of EventDescriptorCollection
System (14)
compmod\system\componentmodel\EventDescriptorCollection.cs (5)
65
public static readonly EventDescriptorCollection Empty = new
EventDescriptorCollection
(null, true);
318
return new
EventDescriptorCollection
(this.events, this.eventCount, this.namedSort, this.comparer);
329
return new
EventDescriptorCollection
(this.events, this.eventCount, names, this.comparer);
339
return new
EventDescriptorCollection
(this.events, this.eventCount, names, comparer);
349
return new
EventDescriptorCollection
(this.events, this.eventCount, this.namedSort, comparer);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (1)
1906
_events = new
EventDescriptorCollection
(eventArray, true);
compmod\system\componentmodel\TypeDescriptor.cs (8)
1730
return new
EventDescriptorCollection
(null, true);
1745
return new
EventDescriptorCollection
(null, true);
1753
events = new
EventDescriptorCollection
((EventDescriptor[])filteredEvents.ToArray(typeof(EventDescriptor)), true);
1797
return new
EventDescriptorCollection
(null, true);
1871
evts = new
EventDescriptorCollection
(eventArray, true);
2467
cacheValue = new
EventDescriptorCollection
(eventArray, true);
2672
cacheValue = new
EventDescriptorCollection
(eventArray, true);
2818
cacheValue = new
EventDescriptorCollection
(eventArray, true);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
500
return new
EventDescriptorCollection
(array, true);
System.Data (9)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (1)
500
return new
EventDescriptorCollection
(array, true);
fx\src\data\System\Data\Common\DataRecordInternal.cs (2)
317
return new
EventDescriptorCollection
(null);
321
return new
EventDescriptorCollection
(null);
fx\src\data\System\Data\Common\dbdatarecord.cs (2)
118
return new
EventDescriptorCollection
(null);
122
return new
EventDescriptorCollection
(null);
fx\src\data\System\Data\DataRowView.cs (2)
288
return new
EventDescriptorCollection
(null);
292
return new
EventDescriptorCollection
(null);
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (2)
95
return new
EventDescriptorCollection
(null);
106
return new
EventDescriptorCollection
(null);
System.Web (1)
UI\TargetFrameworkUtil.cs (1)
435
return new
EventDescriptorCollection
(filteredEventDescriptors.ToArray());
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
367
return new
EventDescriptorCollection
(null);
371
return new
EventDescriptorCollection
(null);
System.Workflow.ComponentModel (1)
AuthoringOM\Design\PropertyDescriptors.cs (1)
851
return new
EventDescriptorCollection
((EventDescriptor[])readonlyEvents.ToArray(typeof(EventDescriptor)));
126 references to EventDescriptorCollection
System (47)
compmod\system\componentmodel\CustomTypeDescriptor.cs (4)
155
public virtual
EventDescriptorCollection
GetEvents()
162
return
EventDescriptorCollection
.Empty;
172
public virtual
EventDescriptorCollection
GetEvents(Attribute[] attributes)
179
return
EventDescriptorCollection
.Empty;
compmod\system\componentmodel\design\IEventPropertyService.cs (1)
41
PropertyDescriptorCollection GetEventProperties(
EventDescriptorCollection
events);
compmod\system\componentmodel\EventDescriptorCollection.cs (7)
65
public static readonly
EventDescriptorCollection
Empty = new EventDescriptorCollection(null, true);
69
/// Initializes a new instance of the <see cref='System.ComponentModel.
EventDescriptorCollection
'/> class.
298
/// Gets an enumerator for this <see cref='System.ComponentModel.
EventDescriptorCollection
'/>.
317
public virtual
EventDescriptorCollection
Sort() {
328
public virtual
EventDescriptorCollection
Sort(string[] names) {
338
public virtual
EventDescriptorCollection
Sort(string[] names, IComparer comparer) {
348
public virtual
EventDescriptorCollection
Sort(IComparer comparer) {
compmod\system\componentmodel\IComNativeDescriptorHandler.cs (2)
53
EventDescriptorCollection
GetEvents(object component);
57
EventDescriptorCollection
GetEvents(object component, Attribute[] attributes);
compmod\system\componentmodel\ICustomTypeDescriptor.cs (2)
66
EventDescriptorCollection
GetEvents();
72
EventDescriptorCollection
GetEvents(Attribute[] attributes);
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (5)
393
internal
EventDescriptorCollection
GetEvents(Type type)
462
internal
EventDescriptorCollection
GetExtendedEvents(object instance)
464
return
EventDescriptorCollection
.Empty;
1441
private
EventDescriptorCollection
_events;
1878
internal
EventDescriptorCollection
GetEvents()
compmod\system\componentmodel\TypeDescriptor.cs (26)
993
private static void DebugValidate(
EventDescriptorCollection
events, Type type, Attribute[] attributes)
1032
private static void DebugValidate(
EventDescriptorCollection
events, object instance, Attribute[] attributes, bool noCustomTypeDesc)
1725
public static
EventDescriptorCollection
GetEvents(Type componentType)
1740
public static
EventDescriptorCollection
GetEvents(Type componentType, Attribute[] attributes)
1748
EventDescriptorCollection
events = GetDescriptor(componentType, "componentType").GetEvents(attributes);
1764
public static
EventDescriptorCollection
GetEvents(object component)
1773
public static
EventDescriptorCollection
GetEvents(object component, bool noCustomTypeDesc)
1782
public static
EventDescriptorCollection
GetEvents(object component, Attribute[] attributes)
1792
public static
EventDescriptorCollection
GetEvents(object component, Attribute[] attributes, bool noCustomTypeDesc)
1865
EventDescriptorCollection
evts = results as
EventDescriptorCollection
;
3570
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
3578
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
3816
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
3818
EventDescriptorCollection
events = _primary.GetEvents();
3831
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
3833
EventDescriptorCollection
events = _primary.GetEvents(attributes);
4227
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
4242
EventDescriptorCollection
events = desc.GetEvents();
4250
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
4264
EventDescriptorCollection
events = rp.GetExtendedEvents(_instance);
4270
EventDescriptorCollection
evts = desc.GetEvents(attributes);
4555
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
4563
EventDescriptorCollection
events;
4581
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
4589
EventDescriptorCollection
events;
System.Activities (6)
System\Activities\DynamicActivity.cs (4)
181
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
186
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
369
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
374
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
System\Activities\DynamicActivityTypeDescriptor.cs (2)
77
public
EventDescriptorCollection
GetEvents(Attribute[] attributes)
82
public
EventDescriptorCollection
GetEvents()
System.Activities.Presentation (10)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
486
private
EventDescriptorCollection
MergeEvents(Type objectType,
EventDescriptorCollection
incoming)
740
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
748
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
285
public
EventDescriptorCollection
GetEvents(Attribute[] attributes)
290
public
EventDescriptorCollection
GetEvents()
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
1243
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
1249
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
366
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
372
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
System.Data (20)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Metadata\MetadataStore.cs (4)
486
private
EventDescriptorCollection
MergeEvents(Type objectType,
EventDescriptorCollection
incoming)
740
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
748
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\DesignObjectWrapper.cs (2)
285
public
EventDescriptorCollection
GetEvents(Attribute[] attributes)
290
public
EventDescriptorCollection
GetEvents()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemDictionaryImpl.cs (2)
1243
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
1249
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (2)
366
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
372
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
fx\src\data\System\Data\Common\DataRecordInternal.cs (2)
316
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
320
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (2)
509
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
512
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\Common\dbdatarecord.cs (2)
117
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
121
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\DataRowView.cs (2)
287
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
291
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
fx\src\data\System\Data\DataViewManagerListItemTypeDescriptor.cs (2)
94
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
105
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
System.Web (22)
HttpApplication.cs (1)
1895
EventDescriptorCollection
events = TypeDescriptor.GetEvents(targetType);
UI\ControlBuilder.cs (2)
355
private
EventDescriptorCollection
EventDescriptors {
3195
internal
EventDescriptorCollection
EventDescriptors;
UI\TargetFrameworkUtil.cs (7)
61
private static ConcurrentDictionary<Type,
EventDescriptorCollection
> s_eventDescriptorCollectionDict =
62
new ConcurrentDictionary<Type,
EventDescriptorCollection
>();
383
internal static
EventDescriptorCollection
GetEvents(Type type) {
388
EventDescriptorCollection
result = null;
397
private static
EventDescriptorCollection
GetEventDescriptorCollection(Type type) {
415
private static
EventDescriptorCollection
GetFilteredEventDescriptorCollection(Type objectType, object instance) {
417
EventDescriptorCollection
eventDescriptors = null;
UI\WebControls\ErrorStyle.cs (2)
51
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
55
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
UI\WebControls\ErrorTableItemStyle.cs (2)
49
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
53
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
UI\WebControls\SubMenuStyle.cs (2)
258
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
262
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
UI\WebControls\XmlDataSourceNodeDescriptor.cs (2)
68
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
72
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attrs) {
UI\WebControls\XmlHierarchyData.cs (2)
157
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
161
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attrs) {
UI\WebParts\WebPartMenuStyle.cs (2)
168
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
172
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceWrapper.cs (2)
85
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() { return null; }
86
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) { return null; }
System.Web.Mobile (2)
UI\MobileControls\Design\PropertyOverridesDialog.cs (2)
1119
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
1124
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
System.Windows.Forms (9)
winforms\Managed\System\WinForms\AxHost.cs (2)
2804
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents() {
2814
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes) {
winforms\Managed\System\WinForms\Binding.cs (1)
565
EventDescriptorCollection
eventInfos = TypeDescriptor.GetEvents(control);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (4)
366
internal
EventDescriptorCollection
GetEvents(Object component) {
370
internal
EventDescriptorCollection
GetEvents(Object component, Attribute[] attributes) {
539
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
547
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
winforms\Managed\System\WinForms\Design\EventsTab.cs (2)
145
EventDescriptorCollection
events = TypeDescriptor.GetEvents(component, attributes);
169
EventDescriptorCollection
namespaceEvents = TypeDescriptor.GetEvents(namespaceValue, attributes);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\PropertyDescriptors.cs (2)
837
public override
EventDescriptorCollection
GetEvents(Attribute[] attributes)
839
EventDescriptorCollection
events = base.GetEvents(attributes);
System.Workflow.Runtime (2)
System\Activities\Statements\Interop.cs (2)
583
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents(Attribute[] attributes)
588
EventDescriptorCollection
ICustomTypeDescriptor.GetEvents()
WindowsBase (4)
Base\MS\Internal\ComponentModel\APCustomTypeDescriptor.cs (2)
212
public
EventDescriptorCollection
GetEvents() { return _parent.GetEvents(); }
213
public
EventDescriptorCollection
GetEvents(Attribute[] attributes) { return _parent.GetEvents(attributes); }
Base\MS\Internal\ComponentModel\DPCustomTypeDescriptor.cs (2)
233
public
EventDescriptorCollection
GetEvents() { return _parent.GetEvents(); }
234
public
EventDescriptorCollection
GetEvents(Attribute[] attributes) { return _parent.GetEvents(attributes); }