Home >
Online Product Documentation >
Table of Contents >
Generate C# .NET Code for XML Pipeline
Generate C# .NET Code for XML Pipeline
|
|
|
XML Pipeline is available only in Stylus Studio XML Enterprise Suite.
|
You use the
Generate C# .NET Code for XML Pipeline dialog box to specify the properties you want to use when generating C# code for your XML pipeline.
Fields
Target Directory
The target directory in which you want the C# code created.
c:\temp\myPipelineC#Code, for example. If the directory you name does not exist, Stylus Studio creates it when you run the Code Generation wizard. The default is the same directory as the
.pipeline file.
Namespace
Stylus Studio uses the namespace name to create a subfolder in the target directory you specify. If you use
myNamespace, for example, the generated code is written to
c:\temp\myPipelineC#Code\myNamespace. (Though optional, it is considered good practice to create a namespace.)
Class Name
Stylus Studio uses the class name for the
.cs file created by the Code Generation wizard. For example, if you provide the name
myClass, Stylus Studio creates
c:\temp\myPipelineC#Code\myClass.cs. Stylus Studio uses the XML pipeline name as the default class name.
Execution Log
Specifies the argument for the
setExecutionLog method in the generated application. Choices are
Console.out (the default),
Console.err, and
Quiet. Set to
Quiet to turn off the log.
Open the C# File
Whether or not you want to open the generated code file.
Main Method
Whether or not you want the resulting
.cs file to contain a
static void Main(String
[ ] args)
method.
For More Information
Generating Code for an XML Pipeline
Execution Framework and Code Generation
Specifying an Execution Framework
Deployment Considerations