/
ConstructorInvoker.xml
285 lines (285 loc) · 17 KB
/
ConstructorInvoker.xml
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
<Type Name="ConstructorInvoker" FullName="System.Reflection.ConstructorInvoker">
<TypeSignature Language="C#" Value="public sealed class ConstructorInvoker" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ConstructorInvoker extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Reflection.ConstructorInvoker" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class ConstructorInvoker" />
<TypeSignature Language="F#" Value="type ConstructorInvoker = class" />
<TypeSignature Language="C++ CLI" Value="public ref class ConstructorInvoker sealed" />
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(0)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(0)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(1)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides methods to invoke the method specified by the provided <see cref="T:System.Reflection.ConstructorInfo" />.</summary>
<remarks>This class provides better performance than <see cref="M:System.Reflection.ConstructorInfo.Invoke(System.Object[])" /> when compatibility with that method is not necessary and when the caller can cache the ConstructorInvoker instance for additional invoke calls. Unlike <see cref="M:System.Reflection.ConstructorInfo.Invoke(System.Object[])" />, the invoke methods in this class don't look up default values for arguments when <see cref="F:System.Type.Missing" /> is specified. In addition, the target constructor may be inlined for performance and not appear in stack traces.</remarks>
</Docs>
<Members>
<Member MemberName="Create">
<MemberSignature Language="C#" Value="public static System.Reflection.ConstructorInvoker Create (System.Reflection.ConstructorInfo constructor);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Reflection.ConstructorInvoker Create(class System.Reflection.ConstructorInfo constructor) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.ConstructorInvoker.Create(System.Reflection.ConstructorInfo)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function Create (constructor As ConstructorInfo) As ConstructorInvoker" />
<MemberSignature Language="F#" Value="static member Create : System.Reflection.ConstructorInfo -> System.Reflection.ConstructorInvoker" Usage="System.Reflection.ConstructorInvoker.Create constructor" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Reflection::ConstructorInvoker ^ Create(System::Reflection::ConstructorInfo ^ constructor);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Reflection.ConstructorInvoker</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="constructor" Type="System.Reflection.ConstructorInfo" />
</Parameters>
<Docs>
<param name="constructor">The constructor that will be invoked.</param>
<summary>Creates a new instance of <see cref="T:System.Reflection.ConstructorInvoker" />.</summary>
<returns>The new instance.</returns>
<remarks>For performance, the resulting instance should be cached for additional calls.</remarks>
<exception cref="T:System.ArgumentException">The <paramref name="constructor" /> is not a runtime-based method.</exception>
</Docs>
</Member>
<Member MemberName="Invoke">
<MemberSignature Language="C#" Value="public object Invoke ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance object Invoke() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.ConstructorInvoker.Invoke" />
<MemberSignature Language="VB.NET" Value="Public Function Invoke () As Object" />
<MemberSignature Language="F#" Value="member this.Invoke : unit -> obj" Usage="constructorInvoker.Invoke " />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Invoke();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Invokes the constructor.</summary>
<returns>An instance of the class associated with the constructor.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.InvalidOperationException">The type that declares the method is an open generic type.</exception>
<exception cref="T:System.Reflection.TargetParameterCountException">An incorrect number of arguments was provided.</exception>
<exception cref="T:System.NotSupportedException">The calling convention or signature is not supported.</exception>
</Docs>
</Member>
<Member MemberName="Invoke">
<MemberSignature Language="C#" Value="public object Invoke (object? arg1);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance object Invoke(object arg1) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.ConstructorInvoker.Invoke(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function Invoke (arg1 As Object) As Object" />
<MemberSignature Language="F#" Value="member this.Invoke : obj -> obj" Usage="constructorInvoker.Invoke arg1" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Invoke(System::Object ^ arg1);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="arg1" Type="System.Object">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(2)>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="arg1">The first argument for the invoked method.</param>
<summary>Invokes the constructor using the specified arguments.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Reflection.ConstructorInvoker.Invoke" />
<exception cref="T:System.ArgumentException">The arguments do not match the signature of the invoked constructor.</exception>
</Docs>
</Member>
<Member MemberName="Invoke">
<MemberSignature Language="C#" Value="public object Invoke (Span<object?> arguments);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance object Invoke(valuetype System.Span`1<object> arguments) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.ConstructorInvoker.Invoke(System.Span{System.Object})" />
<MemberSignature Language="VB.NET" Value="Public Function Invoke (arguments As Span(Of Object)) As Object" />
<MemberSignature Language="F#" Value="member this.Invoke : Span<obj> -> obj" Usage="constructorInvoker.Invoke arguments" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Invoke(Span<System::Object ^> arguments);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="arguments" Type="System.Span<System.Object>">
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 2 })]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 2 })>]</AttributeName>
</Attribute>
</Attributes>
</Parameter>
</Parameters>
<Docs>
<param name="arguments">The arguments for the invoked constructor.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Reflection.ConstructorInvoker.Invoke(System.Object)" />
<exception cref="T:System.ArgumentException">The arguments do not match the signature of the invoked constructor.</exception>
</Docs>
</Member>
<Member MemberName="Invoke">
<MemberSignature Language="C#" Value="public object Invoke (object? arg1, object? arg2);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance object Invoke(object arg1, object arg2) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.ConstructorInvoker.Invoke(System.Object,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function Invoke (arg1 As Object, arg2 As Object) As Object" />
<MemberSignature Language="F#" Value="member this.Invoke : obj * obj -> obj" Usage="constructorInvoker.Invoke (arg1, arg2)" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Invoke(System::Object ^ arg1, System::Object ^ arg2);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="arg1" Type="System.Object" />
<Parameter Name="arg2" Type="System.Object" />
</Parameters>
<Docs>
<param name="arg1">The first argument for the invoked method.</param>
<param name="arg2">The second argument for the invoked method.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Reflection.ConstructorInvoker.Invoke(System.Object)" />
</Docs>
</Member>
<Member MemberName="Invoke">
<MemberSignature Language="C#" Value="public object Invoke (object? arg1, object? arg2, object? arg3);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance object Invoke(object arg1, object arg2, object arg3) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.ConstructorInvoker.Invoke(System.Object,System.Object,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function Invoke (arg1 As Object, arg2 As Object, arg3 As Object) As Object" />
<MemberSignature Language="F#" Value="member this.Invoke : obj * obj * obj -> obj" Usage="constructorInvoker.Invoke (arg1, arg2, arg3)" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Invoke(System::Object ^ arg1, System::Object ^ arg2, System::Object ^ arg3);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="arg1" Type="System.Object" />
<Parameter Name="arg2" Type="System.Object" />
<Parameter Name="arg3" Type="System.Object" />
</Parameters>
<Docs>
<param name="arg1">The first argument for the invoked method.</param>
<param name="arg2">The second argument for the invoked method.</param>
<param name="arg3">The third argument for the invoked method.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Reflection.ConstructorInvoker.Invoke(System.Object)" />
</Docs>
</Member>
<Member MemberName="Invoke">
<MemberSignature Language="C#" Value="public object Invoke (object? arg1, object? arg2, object? arg3, object? arg4);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance object Invoke(object arg1, object arg2, object arg3, object arg4) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Reflection.ConstructorInvoker.Invoke(System.Object,System.Object,System.Object,System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Function Invoke (arg1 As Object, arg2 As Object, arg3 As Object, arg4 As Object) As Object" />
<MemberSignature Language="F#" Value="member this.Invoke : obj * obj * obj * obj -> obj" Usage="constructorInvoker.Invoke (arg1, arg2, arg3, arg4)" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Object ^ Invoke(System::Object ^ arg1, System::Object ^ arg2, System::Object ^ arg3, System::Object ^ arg4);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Runtime</AssemblyName>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
<AssemblyVersion>9.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Runtime.CompilerServices.NullableContext(2)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.NullableContext(2)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
<Attributes>
<Attribute FrameworkAlternate="net-8.0">
<AttributeName Language="C#">[System.Runtime.CompilerServices.Nullable(1)]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.CompilerServices.Nullable(1)>]</AttributeName>
</Attribute>
</Attributes>
</ReturnValue>
<Parameters>
<Parameter Name="arg1" Type="System.Object" />
<Parameter Name="arg2" Type="System.Object" />
<Parameter Name="arg3" Type="System.Object" />
<Parameter Name="arg4" Type="System.Object" />
</Parameters>
<Docs>
<param name="arg1">The first argument for the invoked method.</param>
<param name="arg2">The second argument for the invoked method.</param>
<param name="arg3">The third argument for the invoked method.</param>
<param name="arg4">The fourth argument for the invoked method.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<inheritdoc cref="M:System.Reflection.ConstructorInvoker.Invoke(System.Object)" />
</Docs>
</Member>
</Members>
</Type>