4 <name>NAnt.MSNetTasks</name>
7 <member name="T:NAnt.MSNet.Tasks.IldasmTask">
9 Disassembles any portable executable (PE) file that contains
10 intermediate language (IL) code.
14 Files are only disassembled if the input file is newer than the output
15 file, or if the output file does not exist. However, you can
16 explicitly force files to be disassembled with the
17 <see cref="P:NAnt.MSNet.Tasks.IldasmTask.ForceRebuild"/> attribute.
20 A <see cref="T:NAnt.Core.Types.FileSet"/> can be used to select files to disassemble.
21 To use a <see cref="T:NAnt.Core.Types.FileSet"/>, the <see cref="P:NAnt.MSNet.Tasks.IldasmTask.ToDirectory"/>
22 attribute must be set. The file name of the output file will be equal
23 to the file name of the input file, but with extension ".il".
28 Disassembles <c>helloworld.exe</c> to <c>helloworld.il</c>.
32 <ildasm input="helloworld.exe" output="helloworld.il" />
38 Disassembles a set of PE files into the specified directory.
44 <include name="*.exe" />
45 <include name="*.dll" />
52 <member name="M:NAnt.MSNet.Tasks.IldasmTask.Initialize">
54 Checks whether the task is initialized with valid attributes.
57 <member name="M:NAnt.MSNet.Tasks.IldasmTask.ExecuteTask">
59 Disassembles the PE file(s).
62 <member name="M:NAnt.MSNet.Tasks.IldasmTask.DisassemblyFile(System.IO.FileInfo)">
64 Disassembles the specified PE file.
66 <param name="inputFile">The PE file to disassemble.</param>
68 <member name="M:NAnt.MSNet.Tasks.IldasmTask.GetOutputFile(System.IO.FileInfo)">
70 Determines the full path and extension for the output file.
72 <param name="inputFile">
73 A <see cref="T:System.IO.FileInfo"/> that represents the PE file
74 file for which the corresponding output file should be determined.
77 A <see cref="T:System.IO.FileInfo"/> that represents the full path
80 <exception cref="T:NAnt.Core.BuildException">The path of the output file could not be determined.</exception>
82 <member name="M:NAnt.MSNet.Tasks.IldasmTask.WriteOptions(System.IO.FileInfo,System.IO.FileInfo)">
84 Writes the disassembler options.
87 <member name="M:NAnt.MSNet.Tasks.IldasmTask.WriteOption(System.IO.StringWriter,System.String)">
89 Writes an option using the default output format.
92 The <see cref="T:System.IO.StringWriter"/> to which the disassembler options
96 A <see cref="T:System.String"/> that contains the name of the
97 option which should be passed to the disassembler.
100 <member name="M:NAnt.MSNet.Tasks.IldasmTask.WriteOption(System.IO.StringWriter,System.String,System.String)">
102 Writes an option and its value using the default output format.
104 <param name="writer">
105 The <see cref="T:System.IO.StringWriter"/> to which the disassembler options
109 A <see cref="T:System.String"/> that contains the name of the
110 option which should be passed to the disassembler.
113 A <see cref="T:System.String"/> that contains the value of the
114 option which should be passed to the disassembler.
117 <member name="M:NAnt.MSNet.Tasks.IldasmTask.NeedsDisassembling(System.IO.FileInfo,System.IO.FileInfo)">
119 Determines whether or not disassembling is needed.
122 <see langword="true" /> if disassembling is needed; otherwise,
123 <see langword="false" />.
126 <member name="P:NAnt.MSNet.Tasks.IldasmTask.All">
128 Specifies whether or not the disassembler should combine the
129 <c>/HEADER</c>, <c>/BYTE</c>, and <c>/TOKENS</c> options. The default
130 is <see langword="false" />.
133 <see langword="true" /> if the disassembler should combine the
134 <c>/HEADER</c>, <c>/BYTE</c>, and <c>/TOKENS</c> options;
135 otherwise, <see langword="false" />. The default is
136 <see langword="false" />.
140 Corresponds to the <c>/ALL</c> flag.
144 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Bytes">
146 Specifies whether or not the disassembler should generate the
147 IL stream bytes (in hexadecimal notation) as instruction comments.
148 The default is <see langword="false" />.
151 <see langword="true" /> if the IL stream bytes should be generated
152 as instruction comments; otherwise, <see langword="false" />. The
153 default is <see langword="false" />.
157 Corresponds to the <c>/BYTE</c> flag.
161 <member name="P:NAnt.MSNet.Tasks.IldasmTask.ForceRebuild">
163 Instructs NAnt to rebuild the output file regardless of the file
164 timestamps. The default is <see langword="false" />.
167 <see langword="true" /> if the output file should be rebuilt
168 regardless of its timestamps; otherwise <see langword="false" />.
169 The default is <see langword="false" />.
172 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Header">
174 Specifies whether or not the disassembler should include PE header
175 information and runtime header information in the output. The default
176 is <see langword="false" />.
179 <see langword="true" /> if PE header information and runtime header
180 information should be included in the output; otherwise,
181 <see langword="false" />. The default is <see langword="false" />.
185 Corresponds to the <c>/HEADER</c> flag.
189 <member name="P:NAnt.MSNet.Tasks.IldasmTask.InputFile">
191 Specifies the PE file to disassemble.
194 A <see cref="T:System.IO.FileInfo"/> that represents the PE file
198 <member name="P:NAnt.MSNet.Tasks.IldasmTask.LineNumbers">
200 Specifies whether or not the disassembler should include
201 references to original source lines. The default is <see langword="false" />.
204 <see langword="true" /> if references to original source lines
205 should be included; otherwise, <see langword="false" />. The
206 default is <see langword="false" />.
210 Corresponds to the <c>/LINENUM</c> flag.
214 <member name="P:NAnt.MSNet.Tasks.IldasmTask.NoIL">
216 Specifies whether or not the disassembler should suppress ILASM
217 code output. The default is <see langword="false" />.
220 <see langword="true" /> if ILASM code output should be suppresses;
221 otherwise, <see langword="false" />. The default is
222 <see langword="false" />.
226 Corresponds to the <c>/NOIL</c> flag.
230 <member name="P:NAnt.MSNet.Tasks.IldasmTask.PublicOnly">
232 Specifies whether or not the disassembler should disassemble
233 public items only. This is a shortcut for <see cref="P:NAnt.MSNet.Tasks.IldasmTask.Visibility"/>="pub".
234 The default is <see langword="false"/>.
237 <see langword="true"/> if only public items should be
238 disassembled; otherwise, <see langword="false"/>. The default is
239 <see langword="false"/>.
243 Corresponds to the <c>/PUBONLY</c> flag.
247 <member name="P:NAnt.MSNet.Tasks.IldasmTask.QuoteAllNames">
249 Specifies whether or not the disassembler should enclose all names
250 in single quotation marks. By default, only names that don't match
251 the ILASM definition of a simple name are quoted. The default is
252 <see langword="false" />.
255 <see langword="true" /> if all names should be enclosed in single
256 quotation marks; otherwise, <see langword="false" />. The default
257 is <see langword="false" />.
261 Corresponds to the <c>/QUOTEALLNAMES</c> flag.
265 <member name="P:NAnt.MSNet.Tasks.IldasmTask.RawExceptionHandling">
267 Specifies whether or not the disassembler should generate
268 structured exception handling clauses in canonical (label) form.
269 The default is <see langword="false" />.
272 <see langword="true" /> if structured exception handling clauses
273 should be generated in canonical form; otherwise,
274 <see langword="false" />. The default is <see langword="false" />.
278 Corresponds to the <c>/RAWEH</c> flag.
282 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Source">
284 Specifies whether or not the disassembler should generate
285 original source lines as comments. The default is <see langword="false" />.
288 <see langword="true" /> if original source lines should be
289 generated as comments; otherwise, <see langword="false" />.
290 The default is <see langword="false" />.
294 Corresponds to the <c>/SOURCE</c> flag.
298 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Tokens">
300 Specifies whether or not the disassembler should generate metadata
301 token values as comments. The default is <see langword="false" />.
304 <see langword="true" /> if metadata token values should be
305 generated as comments; otherwise, <see langword="false" />. The
306 default is <see langword="false" />.
310 Corresponds to the <c>/TOKENS</c> flag.
314 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Unicode">
316 Specifies whether or not the disassembler should use the UNICODE
317 encoding when generating the output. The default is ANSI.
320 <see langword="true" /> if the output should be generated using
321 the UNICODE encoding; otherwise, <see langword="false" />. The
322 default is <see langword="false" />.
326 Corresponds to the <c>/UNICODE</c> flag.
330 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Utf8">
332 Specifies whether or not the disassembler should use the UTF-8
333 encoding when generating the output. The default is ANSI.
336 <see langword="true" /> if the output should be generated using
337 the UTF-8 encoding; otherwise, <see langword="false" />. The
338 default is <see langword="false" />.
342 Corresponds to the <c>/UTF8</c> flag.
346 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Item">
348 Instructs the disassembler to disassemble the specified item only.
351 A <see cref="T:System.String"/> that specifies the item to
356 Corresponds to the <c>/ITEM</c> flag.
360 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Visibility">
362 Instructs the disassembler to disassemble only the items with the
363 specified visibility. Possible values are <c>PUB</c>, <c>PRI</c>,
364 <c>FAM</c>, <c>ASM</c>, <c>FAA</c>, <c>FOA</c>, <c>PSC</c>,
365 or any combination of them separated by <c>+</c>.
368 A <see cref="T:System.String"/> that contains the visibility
373 Corresponds to the <c>/VISIBILITY</c> flag.
377 <member name="P:NAnt.MSNet.Tasks.IldasmTask.OutputFile">
379 Specifies the name of the output file created by the disassembler.
382 A <see cref="T:System.IO.FileInfo"/> that represents the name of
387 Corresponds to the <c>/OUT</c> flag.
391 <member name="P:NAnt.MSNet.Tasks.IldasmTask.ToDirectory">
393 Specifies the directory to which outputs will be stored.
396 A <see cref="T:System.IO.DirectoryInfo"/> that represents the
397 directory to which outputs will be stored.
400 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Assemblies">
402 Specifies a list of PE files to disassemble. To use a <see cref="T:NAnt.Core.Types.FileSet"/>,
403 the <see cref="P:NAnt.MSNet.Tasks.IldasmTask.ToDirectory"/> attribute must be specified.
406 A <see cref="T:NAnt.Core.Types.FileSet"/> that represents the set
407 of PE files to disassemble.
410 <member name="P:NAnt.MSNet.Tasks.IldasmTask.Arguments">
412 The command-line arguments for the external program.
415 Overridden to ensure the <arg> elements would not be exposed
419 <member name="P:NAnt.MSNet.Tasks.IldasmTask.ProgramArguments">
421 Gets the command-line arguments for the external program.
424 A <see cref="T:System.String"/> that contains the command-line
425 arguments for the external program.
428 <member name="T:NAnt.MSNet.Tasks.ServiceControllerTask">
430 Allows a Windows service to be controlled.
433 <para>Starts the World Wide Web Publishing Service on the local computer.</para>
436 <servicecontroller action="Start" service="w3svc" />
441 <para>Stops the Alerter service on computer 'MOTHER'.</para>
444 <servicecontroller action="Stop" service="Alerter" machine="MOTHER" />
449 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.#ctor">
451 Initializes a new instance of the <see cref="T:NAnt.MSNet.Tasks.ServiceControllerTask"/>
455 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.ExecuteTask">
457 Peforms actions on the service in order to reach the desired status.
460 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.DetermineDesiredStatus">
462 Determines the desired status of the service based on the action
463 that should be performed on it.
466 The <see cref="T:System.ServiceProcess.ServiceControllerStatus"/> that should be reached
467 in order for the <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.Action"/> to be considered successful.
470 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.StartService(System.ServiceProcess.ServiceController)">
472 Starts the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and
473 <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.
475 <param name="serviceController"><see cref="T:System.ServiceProcess.ServiceController"/> instance for controlling the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.</param>
477 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.StopService(System.ServiceProcess.ServiceController)">
479 Stops the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and
480 <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.
482 <param name="serviceController"><see cref="T:System.ServiceProcess.ServiceController"/> instance for controlling the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.</param>
484 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.RestartService(System.ServiceProcess.ServiceController)">
486 Restarts the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and
487 <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.
489 <param name="serviceController"><see cref="T:System.ServiceProcess.ServiceController"/> instance for controlling the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.</param>
491 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.PauseService(System.ServiceProcess.ServiceController)">
493 Pauses the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and
494 <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.
496 <param name="serviceController"><see cref="T:System.ServiceProcess.ServiceController"/> instance for controlling the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.</param>
498 <member name="M:NAnt.MSNet.Tasks.ServiceControllerTask.ContinueService(System.ServiceProcess.ServiceController)">
500 Continues the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and
501 <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.
503 <param name="serviceController"><see cref="T:System.ServiceProcess.ServiceController"/> instance for controlling the service identified by <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName"/> and <see cref="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName"/>.</param>
505 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask._serviceName">
507 Holds the name of the service that should be controlled.
510 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask._machineName">
512 Holds the name of the computer on which the service resides.
515 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask._action">
517 Holds the action that should be performed on the service.
520 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask._timeout">
522 Holds the time, in milliseconds, the task will wait for a service
523 to reach the desired status.
526 <member name="P:NAnt.MSNet.Tasks.ServiceControllerTask.ServiceName">
528 The name of the service that should be controlled.
531 <member name="P:NAnt.MSNet.Tasks.ServiceControllerTask.MachineName">
533 The name of the computer on which the service resides. The default
534 is the local computer.
537 <member name="P:NAnt.MSNet.Tasks.ServiceControllerTask.Action">
539 The action that should be performed on the service.
542 <member name="P:NAnt.MSNet.Tasks.ServiceControllerTask.Timeout">
544 The time, in milliseconds, the task will wait for the service to
545 reach the desired status. The default is 5000 milliseconds.
548 <member name="T:NAnt.MSNet.Tasks.ServiceControllerTask.ActionType">
550 Defines the actions that can be performed on a service.
553 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.Start">
558 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.Stop">
563 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.Restart">
568 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.Pause">
570 Pauses a running service.
573 <member name="F:NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.Continue">
575 Continues a paused service.