/
WriteCodeFragment.xml
279 lines (270 loc) · 16.8 KB
/
WriteCodeFragment.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
<Type Name="WriteCodeFragment" FullName="Microsoft.Build.Tasks.WriteCodeFragment">
<TypeSignature Language="C#" Value="public class WriteCodeFragment : Microsoft.Build.Tasks.TaskExtension" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit WriteCodeFragment extends Microsoft.Build.Tasks.TaskExtension" />
<TypeSignature Language="DocId" Value="T:Microsoft.Build.Tasks.WriteCodeFragment" />
<TypeSignature Language="VB.NET" Value="Public Class WriteCodeFragment
Inherits TaskExtension" />
<TypeSignature Language="F#" Value="type WriteCodeFragment = class
 inherit TaskExtension" />
<TypeSignature Language="C++ CLI" Value="public ref class WriteCodeFragment : Microsoft::Build::Tasks::TaskExtension" />
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.v4.0</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Microsoft.Build.Tasks.TaskExtension</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
Generates a temporary code file with the specified generated code fragment.
Does not delete the file.</summary>
<remarks>To be added.</remarks>
<comment>
Currently only supports writing .NET attributes.
</comment>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WriteCodeFragment ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Tasks.WriteCodeFragment.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 WriteCodeFragment();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.v4.0</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Creates a temporary code file with the specified generated code fragment.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AssemblyAttributes">
<MemberSignature Language="C#" Value="public Microsoft.Build.Framework.ITaskItem[] AssemblyAttributes { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Build.Framework.ITaskItem[] AssemblyAttributes" />
<MemberSignature Language="DocId" Value="P:Microsoft.Build.Tasks.WriteCodeFragment.AssemblyAttributes" />
<MemberSignature Language="VB.NET" Value="Public Property AssemblyAttributes As ITaskItem()" />
<MemberSignature Language="F#" Value="member this.AssemblyAttributes : Microsoft.Build.Framework.ITaskItem[] with get, set" Usage="Microsoft.Build.Tasks.WriteCodeFragment.AssemblyAttributes" />
<MemberSignature Language="C++ CLI" Value="public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ AssemblyAttributes { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); void set(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.v4.0</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Build.Framework.ITaskItem[]</ReturnType>
</ReturnValue>
<Docs>
<summary>
Description of attributes to write.
Item include is the full type name of the attribute.
For example, "System.AssemblyVersionAttribute".
Each piece of metadata is the name-value pair of a parameter, which must be of type System.String.
Some attributes only allow positional constructor arguments, or the user may just prefer them.
To set those, use metadata names like "_Parameter1", "_Parameter2" etc.
If a parameter index is skipped, it's an error.</summary>
<value>An item whose value is the full type name of the attribute. For example, "System.AssemblyVersionAttribute".</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Each piece of metadata is the name-value pair of a parameter, which must be of type System.String.
Some attributes only allow positional constructor arguments, or the user may just prefer them. To set those, use metadata names like "_Parameter1", "_Parameter2" etc. If a parameter index is skipped, it's an error.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Execute">
<MemberSignature Language="C#" Value="public override bool Execute ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Execute() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Build.Tasks.WriteCodeFragment.Execute" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Execute () As Boolean" />
<MemberSignature Language="F#" Value="override this.Execute : unit -> bool" Usage="writeCodeFragment.Execute " />
<MemberSignature Language="C++ CLI" Value="public:
 override bool Execute();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.v4.0</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Main entry point.</summary>
<returns>
<see langword="true" /> if the code fragment was written; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Language">
<MemberSignature Language="C#" Value="public string Language { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance string Language" />
<MemberSignature Language="DocId" Value="P:Microsoft.Build.Tasks.WriteCodeFragment.Language" />
<MemberSignature Language="VB.NET" Value="Public Property Language As String" />
<MemberSignature Language="F#" Value="member this.Language : string with get, set" Usage="Microsoft.Build.Tasks.WriteCodeFragment.Language" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::String ^ Language { System::String ^ get(); void set(System::String ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.v4.0</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Microsoft.Build.Framework.Required]</AttributeName>
<AttributeName Language="F#">[<Microsoft.Build.Framework.Required>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<summary>
Language of code to generate.
Language name can be any language for which a CodeDom provider is
available. For example, "C#", "VisualBasic".
Emitted file will have the default extension for that language.</summary>
<value>The language of code to generate.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Language name can be any language for which a CodeDom provider is available. For example, "C#", "VisualBasic". The file emitted is given the default extension for that language.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="OutputDirectory">
<MemberSignature Language="C#" Value="public Microsoft.Build.Framework.ITaskItem OutputDirectory { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Build.Framework.ITaskItem OutputDirectory" />
<MemberSignature Language="DocId" Value="P:Microsoft.Build.Tasks.WriteCodeFragment.OutputDirectory" />
<MemberSignature Language="VB.NET" Value="Public Property OutputDirectory As ITaskItem" />
<MemberSignature Language="F#" Value="member this.OutputDirectory : Microsoft.Build.Framework.ITaskItem with get, set" Usage="Microsoft.Build.Tasks.WriteCodeFragment.OutputDirectory" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Build::Framework::ITaskItem ^ OutputDirectory { Microsoft::Build::Framework::ITaskItem ^ get(); void set(Microsoft::Build::Framework::ITaskItem ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.v4.0</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Build.Framework.ITaskItem</ReturnType>
</ReturnValue>
<Docs>
<summary>
Destination folder for the generated code.
Typically the intermediate folder.</summary>
<value>The destination folder for the generated code.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="OutputFile">
<MemberSignature Language="C#" Value="public Microsoft.Build.Framework.ITaskItem OutputFile { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Microsoft.Build.Framework.ITaskItem OutputFile" />
<MemberSignature Language="DocId" Value="P:Microsoft.Build.Tasks.WriteCodeFragment.OutputFile" />
<MemberSignature Language="VB.NET" Value="Public Property OutputFile As ITaskItem" />
<MemberSignature Language="F#" Value="member this.OutputFile : Microsoft.Build.Framework.ITaskItem with get, set" Usage="Microsoft.Build.Tasks.WriteCodeFragment.OutputFile" />
<MemberSignature Language="C++ CLI" Value="public:
 property Microsoft::Build::Framework::ITaskItem ^ OutputFile { Microsoft::Build::Framework::ITaskItem ^ get(); void set(Microsoft::Build::Framework::ITaskItem ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.Core</AssemblyName>
<AssemblyVersion>15.1.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>Microsoft.Build.Tasks.v4.0</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Microsoft.Build.Framework.Output]</AttributeName>
<AttributeName Language="F#">[<Microsoft.Build.Framework.Output>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Microsoft.Build.Framework.ITaskItem</ReturnType>
</ReturnValue>
<Docs>
<summary>
The path to the file that was generated.
If this is set, and a file name, the destination folder will be prepended.
If this is set, and is rooted, the destination folder will be ignored.
If this is not set, the destination folder will be used, an arbitrary file name will be used, and
the default extension for the language selected.</summary>
<value>The path to the file that was generated.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If setting this property with a file name, the destination folder will be prepended.
If setting this property with a rooted value, the destination folder will be ignored.
If this property is not set, WriteCodeFragment uses the destination folder, an arbitrary file name, and the default extension for the language selected.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>