C# Class Mono.WebServices.Driver

显示文件 Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
GenerateCode ( System.Web.Services.Description.WebReferenceCollection references, CodeCompileUnit codeUnit ) : bool

Generate code for the specified ServiceDescription.

Main ( string args ) : int

Application entry point.

Private Methods

Method Description
CreateClient ( ) : System.Web.Services.Discovery.DiscoveryClientProtocol
Driver ( ) : System
GetCodeNamespace ( ) : CodeNamespace

Create the CodeNamespace with the generator's signature commented in.

GetProvider ( ) : CodeDomProvider

Fetch the Code Provider for the language specified by the 'language' members.

ImportArgument ( string argument ) : void

Interperet the command-line arguments and configure the relavent components.

Run ( string args ) : int
WriteCodeUnit ( CodeCompileUnit codeUnit, string serviceName ) : void
WriteText ( string text, int initialLeftMargin, int leftMargin ) : void

Method Details

GenerateCode() public method

Generate code for the specified ServiceDescription.
public GenerateCode ( System.Web.Services.Description.WebReferenceCollection references, CodeCompileUnit codeUnit ) : bool
references System.Web.Services.Description.WebReferenceCollection
codeUnit System.CodeDom.CodeCompileUnit
return bool

Main() public static method

Application entry point.
public static Main ( string args ) : int
args string
return int