|
1 | 1 | ## .NET Standard Polyfills |
2 | 2 |
|
| 3 | +[](https://www.nuget.org/packages/AgileObjects.NetStandardPolyfills) |
| 4 | +[](https://ci.appveyor.com/project/SteveWilkes/netstandardpolyfills/branch/master) |
| 5 | + |
3 | 6 | A set of Type and Reflection polyfill extension methods for .NET Standard v1.0 and .NET v4.0. |
4 | 7 |
|
5 | 8 | ### Type Info: |
6 | 9 |
|
7 | | -* IsAbstract() |
8 | | -* IsAnonymous() |
9 | | -* IsClass() |
10 | | -* IsDerivedFrom(Type parentType) |
11 | | -* IsEnum() |
12 | | -* IsInterface() |
13 | | -* IsGenericType() |
14 | | -* IsPrimitive() |
15 | | -* IsSealed() |
16 | | -* IsValueType() |
17 | | -* GetAttributes() |
18 | | -* GetAssembly() |
19 | | -* GetBaseType() |
20 | | -* GetTypeCode() |
21 | | -* HasAttribute<TAttribute>() |
| 10 | +* Type.IsAbstract() |
| 11 | +* Type.IsAnonymous() |
| 12 | +* Type.IsClass() |
| 13 | +* Type.IsDerivedFrom(Type parentType) |
| 14 | +* Type.IsEnum() |
| 15 | +* Type.IsInterface() |
| 16 | +* Type.IsGenericType() |
| 17 | +* Type.IsPrimitive() |
| 18 | +* Type.IsSealed() |
| 19 | +* Type.IsValueType() |
| 20 | +* Type.GetAttributes() |
| 21 | +* Type.GetAssembly() |
| 22 | +* Type.GetBaseType() |
| 23 | +* Type.GetTypeCode() |
| 24 | +* Type.HasAttribute<TAttribute>() |
22 | 25 |
|
23 | 26 | ### Constructor Retrieval: |
24 | 27 |
|
25 | | -* GetPublicInstanceConstructors() |
26 | | -* GetPublicInstanceConstructor(params Type[] parameterTypes) |
27 | | -* GetNonPublicInstanceConstructors() |
28 | | -* GetNonPublicInstanceConstructor(params Type[] parameterTypes) |
| 28 | +* Type.GetPublicInstanceConstructors() |
| 29 | +* Type.GetPublicInstanceConstructor(params Type[] parameterTypes) |
| 30 | +* Type.GetNonPublicInstanceConstructors() |
| 31 | +* Type.GetNonPublicInstanceConstructor(params Type[] parameterTypes) |
29 | 32 |
|
30 | 33 | ### Field Retrieval: |
31 | 34 |
|
32 | | -* GetPublicStaticFields() |
33 | | -* GetPublicStaticField(string name) |
34 | | -* GetPublicInstanceFields() |
35 | | -* GetPublicInstanceField(string name) |
36 | | -* GetNonPublicStaticFields() |
37 | | -* GetNonPublicStaticField(string name) |
38 | | -* GetNonPublicInstanceFields() |
39 | | -* GetNonPublicInstanceField(string name) |
| 35 | +* Type.GetPublicStaticFields() |
| 36 | +* Type.GetPublicStaticField(string name) |
| 37 | +* Type.GetPublicInstanceFields() |
| 38 | +* Type.GetPublicInstanceField(string name) |
| 39 | +* Type.GetNonPublicStaticFields() |
| 40 | +* Type.GetNonPublicStaticField(string name) |
| 41 | +* Type.GetNonPublicInstanceFields() |
| 42 | +* Type.GetNonPublicInstanceField(string name) |
40 | 43 |
|
41 | 44 | ### Property Retrieval: |
42 | 45 |
|
43 | | -* GetPublicStaticProperties() |
44 | | -* GetPublicStaticProperty(string name) |
45 | | -* GetPublicInstanceProperties() |
46 | | -* GetPublicInstanceProperty(string name) |
47 | | -* GetNonPublicStaticProperties() |
48 | | -* GetNonPublicStaticProperty(string name) |
49 | | -* GetNonPublicInstanceProperties() |
50 | | -* GetNonPublicInstanceProperty(string name) |
| 46 | +* Type.GetPublicStaticProperties() |
| 47 | +* Type.GetPublicStaticProperty(string name) |
| 48 | +* Type.GetPublicInstanceProperties() |
| 49 | +* Type.GetPublicInstanceProperty(string name) |
| 50 | +* Type.GetNonPublicStaticProperties() |
| 51 | +* Type.GetNonPublicStaticProperty(string name) |
| 52 | +* Type.GetNonPublicInstanceProperties() |
| 53 | +* Type.GetNonPublicInstanceProperty(string name) |
51 | 54 |
|
52 | 55 | ### Method Retrieval: |
53 | 56 |
|
54 | | -* GetPublicStaticMethods() |
55 | | -* GetPublicStaticMethod(string name) |
56 | | -* GetPublicStaticMethod(string name, int parameterCount) |
57 | | -* GetPublicStaticMethod(string name, params Type[] parameterTypes) |
58 | | -* GetPublicInstanceMethods() |
59 | | -* GetPublicInstanceMethod(string name) |
60 | | -* GetPublicInstanceMethod(string name, int parameterCount) |
61 | | -* GetPublicInstanceMethod(string name, params Type[] parameterTypes) |
62 | | -* GetNonPublicStaticMethods() |
63 | | -* GetNonPublicStaticMethod(string name) |
64 | | -* GetNonPublicStaticMethod(string name, int parameterCount) |
65 | | -* GetNonPublicStaticMethod(string name, params Type[] parameterTypes) |
66 | | -* GetNonPublicInstanceMethods() |
67 | | -* GetNonPublicInstanceMethod(string name) |
68 | | -* GetNonPublicInstanceMethod(string name, int parameterCount) |
69 | | -* GetNonPublicInstanceMethod(string name, params Type[] parameterTypes) |
| 57 | +* Type.GetPublicStaticMethods() |
| 58 | +* Type.GetPublicStaticMethod(string name) |
| 59 | +* Type.GetPublicStaticMethod(string name, int parameterCount) |
| 60 | +* Type.GetPublicStaticMethod(string name, params Type[] parameterTypes) |
| 61 | +* Type.GetPublicInstanceMethods() |
| 62 | +* Type.GetPublicInstanceMethod(string name) |
| 63 | +* Type.GetPublicInstanceMethod(string name, int parameterCount) |
| 64 | +* Type.GetPublicInstanceMethod(string name, params Type[] parameterTypes) |
| 65 | +* Type.GetNonPublicStaticMethods() |
| 66 | +* Type.GetNonPublicStaticMethod(string name) |
| 67 | +* Type.GetNonPublicStaticMethod(string name, int parameterCount) |
| 68 | +* Type.GetNonPublicStaticMethod(string name, params Type[] parameterTypes) |
| 69 | +* Type.GetNonPublicInstanceMethods() |
| 70 | +* Type.GetNonPublicInstanceMethod(string name) |
| 71 | +* Type.GetNonPublicInstanceMethod(string name, int parameterCount) |
| 72 | +* Type.GetNonPublicInstanceMethod(string name, params Type[] parameterTypes) |
70 | 73 |
|
71 | 74 | ### Member Retrieval: |
72 | 75 |
|
73 | | -* GetPublicStaticMembers() |
74 | | -* GetPublicStaticMembers(string name) |
75 | | -* GetPublicStaticMember(string name) |
76 | | -* GetPublicInstanceMembers() |
77 | | -* GetPublicInstanceMembers(string name) |
78 | | -* GetPublicInstanceMember(string name) |
79 | | -* GetNonPublicStaticMembers() |
80 | | -* GetNonPublicStaticMembers(string name) |
81 | | -* GetNonPublicStaticMember(string name) |
82 | | -* GetNonPublicInstanceMembers() |
83 | | -* GetNonPublicInstanceMembers(string name) |
84 | | -* GetNonPublicInstanceMember(string name) |
| 76 | +* Type.GetPublicStaticMembers() |
| 77 | +* Type.GetPublicStaticMembers(string name) |
| 78 | +* Type.GetPublicStaticMember(string name) |
| 79 | +* Type.GetPublicInstanceMembers() |
| 80 | +* Type.GetPublicInstanceMembers(string name) |
| 81 | +* Type.GetPublicInstanceMember(string name) |
| 82 | +* Type.GetNonPublicStaticMembers() |
| 83 | +* Type.GetNonPublicStaticMembers(string name) |
| 84 | +* Type.GetNonPublicStaticMember(string name) |
| 85 | +* Type.GetNonPublicInstanceMembers() |
| 86 | +* Type.GetNonPublicInstanceMembers(string name) |
| 87 | +* Type.GetNonPublicInstanceMember(string name) |
85 | 88 |
|
86 | 89 | ### Misc |
87 | 90 |
|
|
0 commit comments