-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
System.ComponentModel.TypeConverter.cs
2395 lines (2394 loc) · 191 KB
/
System.ComponentModel.TypeConverter.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// ------------------------------------------------------------------------------
// Changes to this file must follow the https://aka.ms/api-review process.
// ------------------------------------------------------------------------------
namespace System
{
public partial class UriTypeConverter : System.ComponentModel.TypeConverter
{
public UriTypeConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
public override bool IsValid(System.ComponentModel.ITypeDescriptorContext? context, object? value) { throw null; }
}
}
namespace System.ComponentModel
{
public partial class AddingNewEventArgs : System.EventArgs
{
public AddingNewEventArgs() { }
public AddingNewEventArgs(object? newObject) { }
public object? NewObject { get { throw null; } set { } }
}
public delegate void AddingNewEventHandler(object? sender, System.ComponentModel.AddingNewEventArgs e);
[System.AttributeUsageAttribute(System.AttributeTargets.All)]
public sealed partial class AmbientValueAttribute : System.Attribute
{
public AmbientValueAttribute(bool value) { }
public AmbientValueAttribute(byte value) { }
public AmbientValueAttribute(char value) { }
public AmbientValueAttribute(double value) { }
public AmbientValueAttribute(short value) { }
public AmbientValueAttribute(int value) { }
public AmbientValueAttribute(long value) { }
public AmbientValueAttribute(object? value) { }
public AmbientValueAttribute(float value) { }
public AmbientValueAttribute(string? value) { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
public AmbientValueAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All)] System.Type type, string value) { }
public object? Value { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
public partial class ArrayConverter : System.ComponentModel.CollectionConverter
{
public ArrayConverter() { }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
[return: System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute("value")]
public override System.ComponentModel.PropertyDescriptorCollection? GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object? value, System.Attribute[]? attributes) { throw null; }
public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
}
public partial class AttributeCollection : System.Collections.ICollection, System.Collections.IEnumerable
{
public static readonly System.ComponentModel.AttributeCollection Empty;
protected AttributeCollection() { }
public AttributeCollection(params System.Attribute[]? attributes) { }
protected virtual System.Attribute[] Attributes { get { throw null; } }
public int Count { get { throw null; } }
public virtual System.Attribute this[int index] { get { throw null; } }
public virtual System.Attribute? this[[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] System.Type attributeType] { get { throw null; } }
int System.Collections.ICollection.Count { get { throw null; } }
bool System.Collections.ICollection.IsSynchronized { get { throw null; } }
object System.Collections.ICollection.SyncRoot { get { throw null; } }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
public bool Contains(System.Attribute? attribute) { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
public bool Contains(System.Attribute[]? attributes) { throw null; }
public void CopyTo(System.Array array, int index) { }
public static System.ComponentModel.AttributeCollection FromExisting(System.ComponentModel.AttributeCollection existing, params System.Attribute[]? newAttributes) { throw null; }
protected System.Attribute? GetDefaultAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] System.Type attributeType) { throw null; }
public System.Collections.IEnumerator GetEnumerator() { throw null; }
public bool Matches(System.Attribute? attribute) { throw null; }
public bool Matches(System.Attribute[]? attributes) { throw null; }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Property)]
public partial class AttributeProviderAttribute : System.Attribute
{
public AttributeProviderAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] string typeName) { }
public AttributeProviderAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] string typeName, string propertyName) { }
public AttributeProviderAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)] System.Type type) { }
public string? PropertyName { get { throw null; } }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicEvents | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicNestedTypes | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicProperties)]
public string? TypeName { get { throw null; } }
}
public abstract partial class BaseNumberConverter : System.ComponentModel.TypeConverter
{
internal BaseNumberConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All)]
public sealed partial class BindableAttribute : System.Attribute
{
public static readonly System.ComponentModel.BindableAttribute Default;
public static readonly System.ComponentModel.BindableAttribute No;
public static readonly System.ComponentModel.BindableAttribute Yes;
public BindableAttribute(bool bindable) { }
public BindableAttribute(bool bindable, System.ComponentModel.BindingDirection direction) { }
public BindableAttribute(System.ComponentModel.BindableSupport flags) { }
public BindableAttribute(System.ComponentModel.BindableSupport flags, System.ComponentModel.BindingDirection direction) { }
public bool Bindable { get { throw null; } }
public System.ComponentModel.BindingDirection Direction { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
public override bool IsDefaultAttribute() { throw null; }
}
public enum BindableSupport
{
No = 0,
Yes = 1,
Default = 2,
}
public enum BindingDirection
{
OneWay = 0,
TwoWay = 1,
}
public partial class BindingList<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.All)] T> : System.Collections.ObjectModel.Collection<T>, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList, System.ComponentModel.ICancelAddNew, System.ComponentModel.IRaiseItemChangedEvents
{
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")]
public BindingList() { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")]
public BindingList(System.Collections.Generic.IList<T> list) { }
public bool AllowEdit { get { throw null; } set { } }
public bool AllowNew { get { throw null; } set { } }
public bool AllowRemove { get { throw null; } set { } }
protected virtual bool IsSortedCore { get { throw null; } }
public bool RaiseListChangedEvents { get { throw null; } set { } }
protected virtual System.ComponentModel.ListSortDirection SortDirectionCore { get { throw null; } }
protected virtual System.ComponentModel.PropertyDescriptor? SortPropertyCore { get { throw null; } }
protected virtual bool SupportsChangeNotificationCore { get { throw null; } }
protected virtual bool SupportsSearchingCore { get { throw null; } }
protected virtual bool SupportsSortingCore { get { throw null; } }
bool System.ComponentModel.IBindingList.AllowEdit { get { throw null; } }
bool System.ComponentModel.IBindingList.AllowNew { get { throw null; } }
bool System.ComponentModel.IBindingList.AllowRemove { get { throw null; } }
bool System.ComponentModel.IBindingList.IsSorted { get { throw null; } }
System.ComponentModel.ListSortDirection System.ComponentModel.IBindingList.SortDirection { get { throw null; } }
System.ComponentModel.PropertyDescriptor? System.ComponentModel.IBindingList.SortProperty { get { throw null; } }
bool System.ComponentModel.IBindingList.SupportsChangeNotification { get { throw null; } }
bool System.ComponentModel.IBindingList.SupportsSearching { get { throw null; } }
bool System.ComponentModel.IBindingList.SupportsSorting { get { throw null; } }
bool System.ComponentModel.IRaiseItemChangedEvents.RaisesItemChangedEvents { get { throw null; } }
public event System.ComponentModel.AddingNewEventHandler AddingNew { add { } remove { } }
public event System.ComponentModel.ListChangedEventHandler ListChanged { add { } remove { } }
public T AddNew() { throw null; }
protected virtual object? AddNewCore() { throw null; }
protected virtual void ApplySortCore(System.ComponentModel.PropertyDescriptor prop, System.ComponentModel.ListSortDirection direction) { }
public virtual void CancelNew(int itemIndex) { }
protected override void ClearItems() { }
public virtual void EndNew(int itemIndex) { }
protected virtual int FindCore(System.ComponentModel.PropertyDescriptor prop, object key) { throw null; }
protected override void InsertItem(int index, T item) { }
protected virtual void OnAddingNew(System.ComponentModel.AddingNewEventArgs e) { }
protected virtual void OnListChanged(System.ComponentModel.ListChangedEventArgs e) { }
protected override void RemoveItem(int index) { }
protected virtual void RemoveSortCore() { }
public void ResetBindings() { }
public void ResetItem(int position) { }
protected override void SetItem(int index, T item) { }
void System.ComponentModel.IBindingList.AddIndex(System.ComponentModel.PropertyDescriptor prop) { }
object System.ComponentModel.IBindingList.AddNew() { throw null; }
void System.ComponentModel.IBindingList.ApplySort(System.ComponentModel.PropertyDescriptor prop, System.ComponentModel.ListSortDirection direction) { }
int System.ComponentModel.IBindingList.Find(System.ComponentModel.PropertyDescriptor prop, object key) { throw null; }
void System.ComponentModel.IBindingList.RemoveIndex(System.ComponentModel.PropertyDescriptor prop) { }
void System.ComponentModel.IBindingList.RemoveSort() { }
}
public partial class BooleanConverter : System.ComponentModel.TypeConverter
{
public BooleanConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
}
public partial class ByteConverter : System.ComponentModel.BaseNumberConverter
{
public ByteConverter() { }
}
public delegate void CancelEventHandler(object? sender, System.ComponentModel.CancelEventArgs e);
public partial class CharConverter : System.ComponentModel.TypeConverter
{
public CharConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
}
public enum CollectionChangeAction
{
Add = 1,
Remove = 2,
Refresh = 3,
}
public partial class CollectionChangeEventArgs : System.EventArgs
{
public CollectionChangeEventArgs(System.ComponentModel.CollectionChangeAction action, object? element) { }
public virtual System.ComponentModel.CollectionChangeAction Action { get { throw null; } }
public virtual object? Element { get { throw null; } }
}
public delegate void CollectionChangeEventHandler(object? sender, System.ComponentModel.CollectionChangeEventArgs e);
public partial class CollectionConverter : System.ComponentModel.TypeConverter
{
public CollectionConverter() { }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object value, System.Attribute[]? attributes) { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class ComplexBindingPropertiesAttribute : System.Attribute
{
public static readonly System.ComponentModel.ComplexBindingPropertiesAttribute Default;
public ComplexBindingPropertiesAttribute() { }
public ComplexBindingPropertiesAttribute(string? dataSource) { }
public ComplexBindingPropertiesAttribute(string? dataSource, string? dataMember) { }
public string? DataMember { get { throw null; } }
public string? DataSource { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
public partial class ComponentConverter : System.ComponentModel.ReferenceConverter
{
public ComponentConverter(System.Type type) : base (default(System.Type)) { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object value, System.Attribute[]? attributes) { throw null; }
public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
}
public abstract partial class ComponentEditor
{
protected ComponentEditor() { }
public abstract bool EditComponent(System.ComponentModel.ITypeDescriptorContext? context, object component);
public bool EditComponent(object component) { throw null; }
}
public partial class ComponentResourceManager : System.Resources.ResourceManager
{
public ComponentResourceManager() { }
public ComponentResourceManager(System.Type t) { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of value cannot be statically discovered.")]
public void ApplyResources(object value, string objectName) { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of value cannot be statically discovered.")]
public virtual void ApplyResources(object value, string objectName, System.Globalization.CultureInfo? culture) { }
}
public partial class Container : System.ComponentModel.IContainer, System.IDisposable
{
public Container() { }
public virtual System.ComponentModel.ComponentCollection Components { get { throw null; } }
public virtual void Add(System.ComponentModel.IComponent? component) { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of components in the container cannot be statically discovered to validate the name.")]
public virtual void Add(System.ComponentModel.IComponent? component, string? name) { }
protected virtual System.ComponentModel.ISite CreateSite(System.ComponentModel.IComponent component, string? name) { throw null; }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
~Container() { }
protected virtual object? GetService(System.Type service) { throw null; }
public virtual void Remove(System.ComponentModel.IComponent? component) { }
protected void RemoveWithoutUnsiting(System.ComponentModel.IComponent? component) { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of components in the container cannot be statically discovered.")]
protected virtual void ValidateName(System.ComponentModel.IComponent component, string? name) { }
}
public abstract partial class ContainerFilterService
{
protected ContainerFilterService() { }
public virtual System.ComponentModel.ComponentCollection FilterComponents(System.ComponentModel.ComponentCollection components) { throw null; }
}
public partial class CultureInfoConverter : System.ComponentModel.TypeConverter
{
public CultureInfoConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
protected virtual string GetCultureName(System.Globalization.CultureInfo culture) { throw null; }
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
}
public abstract partial class CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor
{
protected CustomTypeDescriptor() { }
protected CustomTypeDescriptor(System.ComponentModel.ICustomTypeDescriptor? parent) { }
public virtual System.ComponentModel.AttributeCollection GetAttributes() { throw null; }
public virtual string? GetClassName() { throw null; }
public virtual string? GetComponentName() { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
public virtual System.ComponentModel.TypeConverter? GetConverter() { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")]
public virtual System.ComponentModel.EventDescriptor? GetDefaultEvent() { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("PropertyDescriptor's PropertyType cannot be statically discovered.")]
public virtual System.ComponentModel.PropertyDescriptor? GetDefaultProperty() { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")]
public virtual object? GetEditor(System.Type editorBaseType) { throw null; }
public virtual System.ComponentModel.EventDescriptorCollection GetEvents() { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
public virtual System.ComponentModel.EventDescriptorCollection GetEvents(System.Attribute[]? attributes) { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("PropertyDescriptor's PropertyType cannot be statically discovered.")]
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties() { throw null; }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("PropertyDescriptor's PropertyType cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(System.Attribute[]? attributes) { throw null; }
public virtual object? GetPropertyOwner(System.ComponentModel.PropertyDescriptor? pd) { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class DataObjectAttribute : System.Attribute
{
public static readonly System.ComponentModel.DataObjectAttribute DataObject;
public static readonly System.ComponentModel.DataObjectAttribute Default;
public static readonly System.ComponentModel.DataObjectAttribute NonDataObject;
public DataObjectAttribute() { }
public DataObjectAttribute(bool isDataObject) { }
public bool IsDataObject { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
public override bool IsDefaultAttribute() { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Property)]
public sealed partial class DataObjectFieldAttribute : System.Attribute
{
public DataObjectFieldAttribute(bool primaryKey) { }
public DataObjectFieldAttribute(bool primaryKey, bool isIdentity) { }
public DataObjectFieldAttribute(bool primaryKey, bool isIdentity, bool isNullable) { }
public DataObjectFieldAttribute(bool primaryKey, bool isIdentity, bool isNullable, int length) { }
public bool IsIdentity { get { throw null; } }
public bool IsNullable { get { throw null; } }
public int Length { get { throw null; } }
public bool PrimaryKey { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Method)]
public sealed partial class DataObjectMethodAttribute : System.Attribute
{
public DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType methodType) { }
public DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType methodType, bool isDefault) { }
public bool IsDefault { get { throw null; } }
public System.ComponentModel.DataObjectMethodType MethodType { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
public override bool Match([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
}
public enum DataObjectMethodType
{
Fill = 0,
Select = 1,
Update = 2,
Insert = 3,
Delete = 4,
}
public partial class DateOnlyConverter : System.ComponentModel.TypeConverter
{
public DateOnlyConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
}
public partial class DateTimeConverter : System.ComponentModel.TypeConverter
{
public DateTimeConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
}
public partial class DateTimeOffsetConverter : System.ComponentModel.TypeConverter
{
public DateTimeOffsetConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
}
public partial class DecimalConverter : System.ComponentModel.BaseNumberConverter
{
public DecimalConverter() { }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class DefaultBindingPropertyAttribute : System.Attribute
{
public static readonly System.ComponentModel.DefaultBindingPropertyAttribute Default;
public DefaultBindingPropertyAttribute() { }
public DefaultBindingPropertyAttribute(string? name) { }
public string? Name { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class DefaultEventAttribute : System.Attribute
{
public static readonly System.ComponentModel.DefaultEventAttribute Default;
public DefaultEventAttribute(string? name) { }
public string? Name { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class DefaultPropertyAttribute : System.Attribute
{
public static readonly System.ComponentModel.DefaultPropertyAttribute Default;
public DefaultPropertyAttribute(string? name) { }
public string? Name { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class | System.AttributeTargets.Interface)]
public sealed partial class DesignTimeVisibleAttribute : System.Attribute
{
public static readonly System.ComponentModel.DesignTimeVisibleAttribute Default;
public static readonly System.ComponentModel.DesignTimeVisibleAttribute No;
public static readonly System.ComponentModel.DesignTimeVisibleAttribute Yes;
public DesignTimeVisibleAttribute() { }
public DesignTimeVisibleAttribute(bool visible) { }
public bool Visible { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
public override bool IsDefaultAttribute() { throw null; }
}
public partial class DoubleConverter : System.ComponentModel.BaseNumberConverter
{
public DoubleConverter() { }
}
public partial class EnumConverter : System.ComponentModel.TypeConverter
{
public EnumConverter([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] System.Type type) { }
protected virtual System.Collections.IComparer Comparer { get { throw null; } }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicFields | System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]
protected System.Type EnumType { get { throw null; } }
protected System.ComponentModel.TypeConverter.StandardValuesCollection? Values { get { throw null; } set { } }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
public override bool IsValid(System.ComponentModel.ITypeDescriptorContext? context, object? value) { throw null; }
}
public abstract partial class EventDescriptor : System.ComponentModel.MemberDescriptor
{
protected EventDescriptor(System.ComponentModel.MemberDescriptor descr) : base (default(string)) { }
protected EventDescriptor(System.ComponentModel.MemberDescriptor descr, System.Attribute[]? attrs) : base (default(string)) { }
protected EventDescriptor(string name, System.Attribute[]? attrs) : base (default(string)) { }
public abstract System.Type ComponentType { get; }
public abstract System.Type EventType { get; }
public abstract bool IsMulticast { get; }
public abstract void AddEventHandler(object component, System.Delegate value);
public abstract void RemoveEventHandler(object component, System.Delegate value);
}
public partial class EventDescriptorCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
{
public static readonly System.ComponentModel.EventDescriptorCollection Empty;
public EventDescriptorCollection(System.ComponentModel.EventDescriptor[]? events) { }
public EventDescriptorCollection(System.ComponentModel.EventDescriptor[]? events, bool readOnly) { }
public int Count { get { throw null; } }
public virtual System.ComponentModel.EventDescriptor? this[int index] { get { throw null; } }
public virtual System.ComponentModel.EventDescriptor? this[string name] { get { throw null; } }
int System.Collections.ICollection.Count { get { throw null; } }
bool System.Collections.ICollection.IsSynchronized { get { throw null; } }
object System.Collections.ICollection.SyncRoot { get { throw null; } }
bool System.Collections.IList.IsFixedSize { get { throw null; } }
bool System.Collections.IList.IsReadOnly { get { throw null; } }
object? System.Collections.IList.this[int index] { get { throw null; } set { } }
public int Add(System.ComponentModel.EventDescriptor? value) { throw null; }
public void Clear() { }
public bool Contains(System.ComponentModel.EventDescriptor? value) { throw null; }
public virtual System.ComponentModel.EventDescriptor? Find(string name, bool ignoreCase) { throw null; }
public System.Collections.IEnumerator GetEnumerator() { throw null; }
public int IndexOf(System.ComponentModel.EventDescriptor? value) { throw null; }
public void Insert(int index, System.ComponentModel.EventDescriptor? value) { }
protected void InternalSort(System.Collections.IComparer? sorter) { }
protected void InternalSort(string[]? names) { }
public void Remove(System.ComponentModel.EventDescriptor? value) { }
public void RemoveAt(int index) { }
public virtual System.ComponentModel.EventDescriptorCollection Sort() { throw null; }
public virtual System.ComponentModel.EventDescriptorCollection Sort(System.Collections.IComparer comparer) { throw null; }
public virtual System.ComponentModel.EventDescriptorCollection Sort(string[] names) { throw null; }
public virtual System.ComponentModel.EventDescriptorCollection Sort(string[] names, System.Collections.IComparer comparer) { throw null; }
void System.Collections.ICollection.CopyTo(System.Array? array, int index) { }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
int System.Collections.IList.Add(object? value) { throw null; }
void System.Collections.IList.Clear() { }
bool System.Collections.IList.Contains(object? value) { throw null; }
int System.Collections.IList.IndexOf(object? value) { throw null; }
void System.Collections.IList.Insert(int index, object? value) { }
void System.Collections.IList.Remove(object? value) { }
void System.Collections.IList.RemoveAt(int index) { }
}
public partial class ExpandableObjectConverter : System.ComponentModel.TypeConverter
{
public ExpandableObjectConverter() { }
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The Type of value cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
public override System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext? context, object value, System.Attribute[]? attributes) { throw null; }
public override bool GetPropertiesSupported(System.ComponentModel.ITypeDescriptorContext? context) { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All)]
public sealed partial class ExtenderProvidedPropertyAttribute : System.Attribute
{
public ExtenderProvidedPropertyAttribute() { }
public System.ComponentModel.PropertyDescriptor? ExtenderProperty { get { throw null; } }
public System.ComponentModel.IExtenderProvider? Provider { get { throw null; } }
public System.Type? ReceiverType { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
public override bool IsDefaultAttribute() { throw null; }
}
public partial class GuidConverter : System.ComponentModel.TypeConverter
{
public GuidConverter() { }
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw null; }
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw null; }
public override object? ConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object value) { throw null; }
public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw null; }
}
public partial class HalfConverter : System.ComponentModel.BaseNumberConverter
{
public HalfConverter() { }
}
public partial class HandledEventArgs : System.EventArgs
{
public HandledEventArgs() { }
public HandledEventArgs(bool defaultHandledValue) { }
public bool Handled { get { throw null; } set { } }
}
public delegate void HandledEventHandler(object? sender, System.ComponentModel.HandledEventArgs e);
public partial interface IBindingList : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
{
bool AllowEdit { get; }
bool AllowNew { get; }
bool AllowRemove { get; }
bool IsSorted { get; }
System.ComponentModel.ListSortDirection SortDirection { get; }
System.ComponentModel.PropertyDescriptor? SortProperty { get; }
bool SupportsChangeNotification { get; }
bool SupportsSearching { get; }
bool SupportsSorting { get; }
event System.ComponentModel.ListChangedEventHandler ListChanged;
void AddIndex(System.ComponentModel.PropertyDescriptor property);
object? AddNew();
void ApplySort(System.ComponentModel.PropertyDescriptor property, System.ComponentModel.ListSortDirection direction);
int Find(System.ComponentModel.PropertyDescriptor property, object key);
void RemoveIndex(System.ComponentModel.PropertyDescriptor property);
void RemoveSort();
}
public partial interface IBindingListView : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.ComponentModel.IBindingList
{
string? Filter { get; [System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Members of types used in the filter expression might be trimmed.")] set; }
System.ComponentModel.ListSortDescriptionCollection SortDescriptions { get; }
bool SupportsAdvancedSorting { get; }
bool SupportsFiltering { get; }
void ApplySort(System.ComponentModel.ListSortDescriptionCollection sorts);
void RemoveFilter();
}
public partial interface ICancelAddNew
{
void CancelNew(int itemIndex);
void EndNew(int itemIndex);
}
[System.ObsoleteAttribute("IComNativeDescriptorHandler has been deprecated. Add a TypeDescriptionProvider to handle type TypeDescriptor.ComObjectType instead.")]
public partial interface IComNativeDescriptorHandler
{
System.ComponentModel.AttributeCollection GetAttributes(object component);
string GetClassName(object component);
System.ComponentModel.TypeConverter GetConverter(object component);
System.ComponentModel.EventDescriptor GetDefaultEvent(object component);
System.ComponentModel.PropertyDescriptor GetDefaultProperty(object component);
object GetEditor(object component, System.Type baseEditorType);
System.ComponentModel.EventDescriptorCollection GetEvents(object component);
System.ComponentModel.EventDescriptorCollection GetEvents(object component, System.Attribute[]? attributes);
string GetName(object component);
System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, System.Attribute[]? attributes);
object GetPropertyValue(object component, int dispid, ref bool success);
object GetPropertyValue(object component, string propertyName, ref bool success);
}
public partial interface ICustomTypeDescriptor
{
System.ComponentModel.AttributeCollection GetAttributes();
string? GetClassName();
string? GetComponentName();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
System.ComponentModel.TypeConverter? GetConverter();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The built-in EventDescriptor implementation uses Reflection which requires unreferenced code.")]
System.ComponentModel.EventDescriptor? GetDefaultEvent();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("PropertyDescriptor's PropertyType cannot be statically discovered.")]
System.ComponentModel.PropertyDescriptor? GetDefaultProperty();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")]
object? GetEditor(System.Type editorBaseType);
System.ComponentModel.EventDescriptorCollection GetEvents();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
System.ComponentModel.EventDescriptorCollection GetEvents(System.Attribute[]? attributes);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("PropertyDescriptor's PropertyType cannot be statically discovered.")]
System.ComponentModel.PropertyDescriptorCollection GetProperties();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCodeAttribute("PropertyDescriptor's PropertyType cannot be statically discovered. The public parameterless constructor or the 'Default' static field may be trimmed from the Attribute's Type.")]
System.ComponentModel.PropertyDescriptorCollection GetProperties(System.Attribute[]? attributes);
object? GetPropertyOwner(System.ComponentModel.PropertyDescriptor? pd);
}
public partial interface IDataErrorInfo
{
string Error { get; }
string this[string columnName] { get; }
}
public partial interface IExtenderProvider
{
bool CanExtend(object extendee);
}
public partial interface IIntellisenseBuilder
{
string Name { get; }
bool Show(string language, string value, ref string newValue);
}
[System.ComponentModel.EditorAttribute("System.Windows.Forms.Design.DataSourceListEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.MergablePropertyAttribute(false)]
[System.ComponentModel.TypeConverterAttribute("System.Windows.Forms.Design.DataSourceConverter, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public partial interface IListSource
{
bool ContainsListCollection { get; }
System.Collections.IList GetList();
}
public partial interface INestedContainer : System.ComponentModel.IContainer, System.IDisposable
{
System.ComponentModel.IComponent Owner { get; }
}
public partial interface INestedSite : System.ComponentModel.ISite, System.IServiceProvider
{
string? FullName { get; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Property)]
public sealed partial class InheritanceAttribute : System.Attribute
{
public static readonly System.ComponentModel.InheritanceAttribute Default;
public static readonly System.ComponentModel.InheritanceAttribute Inherited;
public static readonly System.ComponentModel.InheritanceAttribute InheritedReadOnly;
public static readonly System.ComponentModel.InheritanceAttribute NotInherited;
public InheritanceAttribute() { }
public InheritanceAttribute(System.ComponentModel.InheritanceLevel inheritanceLevel) { }
public System.ComponentModel.InheritanceLevel InheritanceLevel { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? value) { throw null; }
public override int GetHashCode() { throw null; }
public override bool IsDefaultAttribute() { throw null; }
public override string ToString() { throw null; }
}
public enum InheritanceLevel
{
Inherited = 1,
InheritedReadOnly = 2,
NotInherited = 3,
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public partial class InstallerTypeAttribute : System.Attribute
{
public InstallerTypeAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] string? typeName) { }
public InstallerTypeAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type installerType) { }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public virtual System.Type? InstallerType { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
public abstract partial class InstanceCreationEditor
{
protected InstanceCreationEditor() { }
public virtual string Text { get { throw null; } }
public abstract object? CreateInstance(System.ComponentModel.ITypeDescriptorContext context, System.Type instanceType);
}
public partial class Int128Converter : System.ComponentModel.BaseNumberConverter
{
public Int128Converter() { }
}
public partial class Int16Converter : System.ComponentModel.BaseNumberConverter
{
public Int16Converter() { }
}
public partial class Int32Converter : System.ComponentModel.BaseNumberConverter
{
public Int32Converter() { }
}
public partial class Int64Converter : System.ComponentModel.BaseNumberConverter
{
public Int64Converter() { }
}
public partial interface IRaiseItemChangedEvents
{
bool RaisesItemChangedEvents { get; }
}
public partial interface ISupportInitializeNotification : System.ComponentModel.ISupportInitialize
{
bool IsInitialized { get; }
event System.EventHandler Initialized;
}
public partial interface ITypeDescriptorContext : System.IServiceProvider
{
System.ComponentModel.IContainer? Container { get; }
object? Instance { get; }
System.ComponentModel.PropertyDescriptor? PropertyDescriptor { get; }
void OnComponentChanged();
bool OnComponentChanging();
}
public partial interface ITypedList
{
System.ComponentModel.PropertyDescriptorCollection GetItemProperties(System.ComponentModel.PropertyDescriptor[]? listAccessors);
string GetListName(System.ComponentModel.PropertyDescriptor[]? listAccessors);
}
public abstract partial class License : System.IDisposable
{
protected License() { }
public abstract string LicenseKey { get; }
public abstract void Dispose();
}
public partial class LicenseContext : System.IServiceProvider
{
public LicenseContext() { }
public virtual System.ComponentModel.LicenseUsageMode UsageMode { get { throw null; } }
public virtual string? GetSavedLicenseKey(System.Type type, System.Reflection.Assembly? resourceAssembly) { throw null; }
public virtual object? GetService(System.Type type) { throw null; }
public virtual void SetSavedLicenseKey(System.Type type, string key) { }
}
public partial class LicenseException : System.SystemException
{
protected LicenseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
public LicenseException(System.Type? type) { }
public LicenseException(System.Type? type, object? instance) { }
public LicenseException(System.Type? type, object? instance, string? message) { }
public LicenseException(System.Type? type, object? instance, string? message, System.Exception? innerException) { }
public System.Type? LicensedType { get { throw null; } }
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { }
}
public sealed partial class LicenseManager
{
internal LicenseManager() { }
public static System.ComponentModel.LicenseContext CurrentContext { get { throw null; } set { } }
public static System.ComponentModel.LicenseUsageMode UsageMode { get { throw null; } }
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public static object? CreateWithContext([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type, System.ComponentModel.LicenseContext creationContext) { throw null; }
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public static object? CreateWithContext([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)] System.Type type, System.ComponentModel.LicenseContext creationContext, object[] args) { throw null; }
public static bool IsLicensed(System.Type type) { throw null; }
public static bool IsValid(System.Type type) { throw null; }
public static bool IsValid(System.Type type, object? instance, out System.ComponentModel.License? license) { throw null; }
public static void LockContext(object contextUser) { }
public static void UnlockContext(object contextUser) { }
public static void Validate(System.Type type) { }
public static System.ComponentModel.License? Validate(System.Type type, object? instance) { throw null; }
}
public abstract partial class LicenseProvider
{
protected LicenseProvider() { }
public abstract System.ComponentModel.License? GetLicense(System.ComponentModel.LicenseContext context, System.Type type, object? instance, bool allowExceptions);
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
public sealed partial class LicenseProviderAttribute : System.Attribute
{
public static readonly System.ComponentModel.LicenseProviderAttribute Default;
public LicenseProviderAttribute() { }
public LicenseProviderAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] string? typeName) { }
public LicenseProviderAttribute([System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)] System.Type type) { }
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]
public System.Type? LicenseProvider { get { throw null; } }
public override object TypeId { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? value) { throw null; }
public override int GetHashCode() { throw null; }
}
public enum LicenseUsageMode
{
Runtime = 0,
Designtime = 1,
}
public partial class LicFileLicenseProvider : System.ComponentModel.LicenseProvider
{
public LicFileLicenseProvider() { }
protected virtual string GetKey(System.Type type) { throw null; }
public override System.ComponentModel.License? GetLicense(System.ComponentModel.LicenseContext context, System.Type type, object? instance, bool allowExceptions) { throw null; }
protected virtual bool IsKeyValid(string? key, System.Type type) { throw null; }
}
[System.AttributeUsageAttribute(System.AttributeTargets.All)]
public sealed partial class ListBindableAttribute : System.Attribute
{
public static readonly System.ComponentModel.ListBindableAttribute Default;
public static readonly System.ComponentModel.ListBindableAttribute No;
public static readonly System.ComponentModel.ListBindableAttribute Yes;
public ListBindableAttribute(bool listBindable) { }
public ListBindableAttribute(System.ComponentModel.BindableSupport flags) { }
public bool ListBindable { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
public override bool IsDefaultAttribute() { throw null; }
}
public partial class ListChangedEventArgs : System.EventArgs
{
public ListChangedEventArgs(System.ComponentModel.ListChangedType listChangedType, System.ComponentModel.PropertyDescriptor? propDesc) { }
public ListChangedEventArgs(System.ComponentModel.ListChangedType listChangedType, int newIndex) { }
public ListChangedEventArgs(System.ComponentModel.ListChangedType listChangedType, int newIndex, System.ComponentModel.PropertyDescriptor? propDesc) { }
public ListChangedEventArgs(System.ComponentModel.ListChangedType listChangedType, int newIndex, int oldIndex) { }
public System.ComponentModel.ListChangedType ListChangedType { get { throw null; } }
public int NewIndex { get { throw null; } }
public int OldIndex { get { throw null; } }
public System.ComponentModel.PropertyDescriptor? PropertyDescriptor { get { throw null; } }
}
public delegate void ListChangedEventHandler(object? sender, System.ComponentModel.ListChangedEventArgs e);
public enum ListChangedType
{
Reset = 0,
ItemAdded = 1,
ItemDeleted = 2,
ItemMoved = 3,
ItemChanged = 4,
PropertyDescriptorAdded = 5,
PropertyDescriptorDeleted = 6,
PropertyDescriptorChanged = 7,
}
public partial class ListSortDescription
{
public ListSortDescription(System.ComponentModel.PropertyDescriptor? property, System.ComponentModel.ListSortDirection direction) { }
public System.ComponentModel.PropertyDescriptor? PropertyDescriptor { get { throw null; } set { } }
public System.ComponentModel.ListSortDirection SortDirection { get { throw null; } set { } }
}
public partial class ListSortDescriptionCollection : System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList
{
public ListSortDescriptionCollection() { }
public ListSortDescriptionCollection(System.ComponentModel.ListSortDescription?[]? sorts) { }
public int Count { get { throw null; } }
public System.ComponentModel.ListSortDescription? this[int index] { get { throw null; } set { } }
bool System.Collections.ICollection.IsSynchronized { get { throw null; } }
object System.Collections.ICollection.SyncRoot { get { throw null; } }
bool System.Collections.IList.IsFixedSize { get { throw null; } }
bool System.Collections.IList.IsReadOnly { get { throw null; } }
object? System.Collections.IList.this[int index] { get { throw null; } set { } }
public bool Contains(object? value) { throw null; }
public void CopyTo(System.Array array, int index) { }
public int IndexOf(object? value) { throw null; }
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; }
int System.Collections.IList.Add(object? value) { throw null; }
void System.Collections.IList.Clear() { }
void System.Collections.IList.Insert(int index, object? value) { }
void System.Collections.IList.Remove(object? value) { }
void System.Collections.IList.RemoveAt(int index) { }
}
public enum ListSortDirection
{
Ascending = 0,
Descending = 1,
}
[System.AttributeUsageAttribute(System.AttributeTargets.Class)]
public sealed partial class LookupBindingPropertiesAttribute : System.Attribute
{
public static readonly System.ComponentModel.LookupBindingPropertiesAttribute Default;
public LookupBindingPropertiesAttribute() { }
public LookupBindingPropertiesAttribute(string dataSource, string displayMember, string valueMember, string lookupMember) { }
public string? DataSource { get { throw null; } }
public string? DisplayMember { get { throw null; } }
public string? LookupMember { get { throw null; } }
public string? ValueMember { get { throw null; } }
public override bool Equals([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] object? obj) { throw null; }
public override int GetHashCode() { throw null; }
}
[System.ComponentModel.DesignerAttribute("System.Windows.Forms.Design.ComponentDocumentDesigner, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IRootDesigner, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[System.ComponentModel.DesignerCategoryAttribute("Component")]
[System.ComponentModel.TypeConverterAttribute(typeof(System.ComponentModel.ComponentConverter))]
public partial class MarshalByValueComponent : System.ComponentModel.IComponent, System.IDisposable, System.IServiceProvider
{
public MarshalByValueComponent() { }
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.ComponentModel.IContainer? Container { get { throw null; } }
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual bool DesignMode { get { throw null; } }
protected System.ComponentModel.EventHandlerList Events { get { throw null; } }
[System.ComponentModel.BrowsableAttribute(false)]
[System.ComponentModel.DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
public virtual System.ComponentModel.ISite? Site { get { throw null; } set { } }
public event System.EventHandler? Disposed { add { } remove { } }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
~MarshalByValueComponent() { }
public virtual object? GetService(System.Type service) { throw null; }
public override string? ToString() { throw null; }
}
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public partial class MaskedTextProvider : System.ICloneable
{
public MaskedTextProvider(string mask) { }
public MaskedTextProvider(string mask, bool restrictToAscii) { }
public MaskedTextProvider(string mask, char passwordChar, bool allowPromptAsInput) { }
public MaskedTextProvider(string mask, System.Globalization.CultureInfo? culture) { }
public MaskedTextProvider(string mask, System.Globalization.CultureInfo? culture, bool restrictToAscii) { }
public MaskedTextProvider(string mask, System.Globalization.CultureInfo? culture, bool allowPromptAsInput, char promptChar, char passwordChar, bool restrictToAscii) { }
public MaskedTextProvider(string mask, System.Globalization.CultureInfo? culture, char passwordChar, bool allowPromptAsInput) { }
public bool AllowPromptAsInput { get { throw null; } }
public bool AsciiOnly { get { throw null; } }
public int AssignedEditPositionCount { get { throw null; } }
public int AvailableEditPositionCount { get { throw null; } }
public System.Globalization.CultureInfo Culture { get { throw null; } }
public static char DefaultPasswordChar { get { throw null; } }
public int EditPositionCount { get { throw null; } }
public System.Collections.IEnumerator EditPositions { get { throw null; } }
public bool IncludeLiterals { get { throw null; } set { } }
public bool IncludePrompt { get { throw null; } set { } }
public static int InvalidIndex { get { throw null; } }
public bool IsPassword { get { throw null; } set { } }
public char this[int index] { get { throw null; } }
public int LastAssignedPosition { get { throw null; } }
public int Length { get { throw null; } }
public string Mask { get { throw null; } }
public bool MaskCompleted { get { throw null; } }
public bool MaskFull { get { throw null; } }
public char PasswordChar { get { throw null; } set { } }
public char PromptChar { get { throw null; } set { } }
public bool ResetOnPrompt { get { throw null; } set { } }
public bool ResetOnSpace { get { throw null; } set { } }
public bool SkipLiterals { get { throw null; } set { } }
public bool Add(char input) { throw null; }
public bool Add(char input, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool Add(string input) { throw null; }
public bool Add(string input, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public void Clear() { }
public void Clear(out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
[System.Runtime.Versioning.UnsupportedOSPlatformAttribute("browser")]
public object Clone() { throw null; }
public int FindAssignedEditPositionFrom(int position, bool direction) { throw null; }
public int FindAssignedEditPositionInRange(int startPosition, int endPosition, bool direction) { throw null; }
public int FindEditPositionFrom(int position, bool direction) { throw null; }
public int FindEditPositionInRange(int startPosition, int endPosition, bool direction) { throw null; }
public int FindNonEditPositionFrom(int position, bool direction) { throw null; }
public int FindNonEditPositionInRange(int startPosition, int endPosition, bool direction) { throw null; }
public int FindUnassignedEditPositionFrom(int position, bool direction) { throw null; }
public int FindUnassignedEditPositionInRange(int startPosition, int endPosition, bool direction) { throw null; }
public static bool GetOperationResultFromHint(System.ComponentModel.MaskedTextResultHint hint) { throw null; }
public bool InsertAt(char input, int position) { throw null; }
public bool InsertAt(char input, int position, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool InsertAt(string input, int position) { throw null; }
public bool InsertAt(string input, int position, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool IsAvailablePosition(int position) { throw null; }
public bool IsEditPosition(int position) { throw null; }
public static bool IsValidInputChar(char c) { throw null; }
public static bool IsValidMaskChar(char c) { throw null; }
public static bool IsValidPasswordChar(char c) { throw null; }
public bool Remove() { throw null; }
public bool Remove(out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool RemoveAt(int position) { throw null; }
public bool RemoveAt(int startPosition, int endPosition) { throw null; }
public bool RemoveAt(int startPosition, int endPosition, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool Replace(char input, int position) { throw null; }
public bool Replace(char input, int startPosition, int endPosition, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool Replace(char input, int position, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool Replace(string input, int position) { throw null; }
public bool Replace(string input, int startPosition, int endPosition, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool Replace(string input, int position, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public bool Set(string input) { throw null; }
public bool Set(string input, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
public string ToDisplayString() { throw null; }
public override string ToString() { throw null; }
public string ToString(bool ignorePasswordChar) { throw null; }
public string ToString(bool includePrompt, bool includeLiterals) { throw null; }
public string ToString(bool ignorePasswordChar, bool includePrompt, bool includeLiterals, int startPosition, int length) { throw null; }
public string ToString(bool includePrompt, bool includeLiterals, int startPosition, int length) { throw null; }
public string ToString(bool ignorePasswordChar, int startPosition, int length) { throw null; }
public string ToString(int startPosition, int length) { throw null; }
public bool VerifyChar(char input, int position, out System.ComponentModel.MaskedTextResultHint hint) { throw null; }
public bool VerifyEscapeChar(char input, int position) { throw null; }
public bool VerifyString(string input) { throw null; }
public bool VerifyString(string input, out int testPosition, out System.ComponentModel.MaskedTextResultHint resultHint) { throw null; }
}
public enum MaskedTextResultHint
{
PositionOutOfRange = -55,
NonEditPosition = -54,
UnavailableEditPosition = -53,
PromptCharNotAllowed = -52,
InvalidInput = -51,
SignedDigitExpected = -5,
LetterExpected = -4,
DigitExpected = -3,
AlphanumericCharacterExpected = -2,
AsciiCharacterExpected = -1,
Unknown = 0,
CharacterEscaped = 1,
NoEffect = 2,
SideEffect = 3,
Success = 4,
}
public abstract partial class MemberDescriptor
{
protected MemberDescriptor(System.ComponentModel.MemberDescriptor descr) { }
protected MemberDescriptor(System.ComponentModel.MemberDescriptor oldMemberDescriptor, System.Attribute[]? newAttributes) { }
protected MemberDescriptor(string name) { }
protected MemberDescriptor(string name, System.Attribute[]? attributes) { }
protected virtual System.Attribute[]? AttributeArray { get { throw null; } set { } }
public virtual System.ComponentModel.AttributeCollection Attributes { get { throw null; } }
public virtual string Category { get { throw null; } }
public virtual string Description { get { throw null; } }
public virtual bool DesignTimeOnly { get { throw null; } }
public virtual string DisplayName { get { throw null; } }
public virtual bool IsBrowsable { get { throw null; } }
public virtual string Name { get { throw null; } }
protected virtual int NameHashCode { get { throw null; } }