|
438 | 438 | </Parameters>
|
439 | 439 | <Docs>
|
440 | 440 | <param name="instance">To be added.</param>
|
441 |
| - <summary>To be added.</summary> |
| 441 | + <summary>Returns an extended custom type descriptor for the given object.</summary> |
442 | 442 | <returns>To be added.</returns>
|
443 |
| - <remarks>To be added.</remarks> |
| 443 | + <remarks>An extended type descriptor is a custom type descriptor that offers properties that other objects have added to this object, but are not actually defined on the object. For example, in the .NET Framework Component Model, objects that implement the interface IExtenderProvider can "attach" properties to other objects that reside in the same logical container. The GetTypeDescriptor method does not return a type descriptor that provides these extra extended properties. GetExtendedTypeDescriptor returns the set of these extended properties. TypeDescriptor will automatically merge the results of these two property collections. Note that while the .NET Framework component model only supports extended properties this API can be used for extended attributes and events as well, if the type description provider supports it.</remarks> |
444 | 444 | </Docs>
|
445 | 445 | </Member>
|
446 | 446 | <Member MemberName="GetExtenderProviders">
|
|
1036 | 1036 | </Parameters>
|
1037 | 1037 | <Docs>
|
1038 | 1038 | <param name="instance">To be added.</param>
|
1039 |
| - <summary>To be added.</summary> |
| 1039 | + <summary>Returns a custom type descriptor for the given type or object.</summary> |
1040 | 1040 | <returns>To be added.</returns>
|
1041 |
| - <remarks>To be added.</remarks> |
| 1041 | + <remarks>The objectType parameter is always valid, but the instance parameter may be <see langword="null" /> if no instance was passed to TypeDescriptor. The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</remarks> |
1042 | 1042 | </Docs>
|
1043 | 1043 | </Member>
|
1044 | 1044 | <Member MemberName="GetTypeDescriptorFromRegisteredType">
|
|
1073 | 1073 | </Parameters>
|
1074 | 1074 | <Docs>
|
1075 | 1075 | <param name="objectType">To be added.</param>
|
1076 |
| - <summary>To be added.</summary> |
| 1076 | + <summary>Returns a custom type descriptor for the given type or object.</summary> |
1077 | 1077 | <returns>To be added.</returns>
|
1078 |
| - <remarks>To be added.</remarks> |
| 1078 | + <remarks>The objectType parameter is always valid, but the instance parameter may be <see langword="null" /> if no instance was passed to TypeDescriptor. The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</remarks> |
1079 | 1079 | </Docs>
|
1080 | 1080 | </Member>
|
1081 | 1081 | <Member MemberName="GetTypeDescriptorFromRegisteredType">
|
|
1119 | 1119 | <Docs>
|
1120 | 1120 | <param name="objectType">To be added.</param>
|
1121 | 1121 | <param name="instance">To be added.</param>
|
1122 |
| - <summary>To be added.</summary> |
| 1122 | + <summary>Returns a custom type descriptor for the given type or object.</summary> |
1123 | 1123 | <returns>To be added.</returns>
|
1124 |
| - <remarks>To be added.</remarks> |
| 1124 | + <remarks> |
| 1125 | + <para>The objectType parameter is always valid, but the instance parameter may be <see langword="null" /> if no instance was passed to TypeDescriptor. The method should return a custom type descriptor for the object. If the method is not interested in providing type information for the object it should return base.</para> |
| 1126 | + <para>This method is prototyped as virtual, and by default returns a custom type descriptor that returns empty collections for all values if no parent provider was passed. If a parent provider was passed, this method will invoke the parent provider's GetTypeDescriptorFromRegisteredType method.</para> |
| 1127 | + </remarks> |
1125 | 1128 | </Docs>
|
1126 | 1129 | </Member>
|
1127 | 1130 | <Member MemberName="IsRegisteredType">
|
|
1150 | 1153 | </Parameters>
|
1151 | 1154 | <Docs>
|
1152 | 1155 | <param name="type">To be added.</param>
|
1153 |
| - <summary>To be added.</summary> |
| 1156 | + <summary>Determines whether the type was registered with its provider through <see cref="M:System.ComponentModel.TypeDescriptor.RegisterType``1" />.</summary> |
1154 | 1157 | <returns>To be added.</returns>
|
1155 | 1158 | <remarks>To be added.</remarks>
|
| 1159 | + <exception cref="T:System.ArgumentNullException"> |
| 1160 | + <paramref name="type" /> is <see langword="null" />.</exception> |
1156 | 1161 | </Docs>
|
1157 | 1162 | </Member>
|
1158 | 1163 | <Member MemberName="IsSupportedType">
|
|
1240 | 1245 | </TypeParameters>
|
1241 | 1246 | <Parameters />
|
1242 | 1247 | <Docs>
|
1243 |
| - <typeparam name="T">To be added.</typeparam> |
1244 |
| - <summary>To be added.</summary> |
| 1248 | + <typeparam name="T">The type to register.</typeparam> |
| 1249 | + <summary>Registers the type so it can be used by reflection-based providers in trimmed applications.</summary> |
1245 | 1250 | <remarks>To be added.</remarks>
|
1246 | 1251 | </Docs>
|
1247 | 1252 | </Member>
|
|
1267 | 1272 | <ReturnType>System.Nullable<System.Boolean></ReturnType>
|
1268 | 1273 | </ReturnValue>
|
1269 | 1274 | <Docs>
|
1270 |
| - <summary>To be added.</summary> |
| 1275 | + <summary>Gets a value that indicates whether the provider uses reflection and requires types to be registered through <see cref="M:System.ComponentModel.TypeDescriptor.RegisterType``1" /> to support trimmed applications.</summary> |
1271 | 1276 | <value>To be added.</value>
|
1272 |
| - <remarks>To be added.</remarks> |
| 1277 | + <remarks>For backwards compatibility, this is typically only enforced when calling members that have "FromRegisteredType" suffix.</remarks> |
1273 | 1278 | </Docs>
|
1274 | 1279 | </Member>
|
1275 | 1280 | </Members>
|
|
0 commit comments