Driver.DiscoveryCompiler.GenerateWebReferences(System.Web.Services.Description.WebReference, System.CodeDom.CodeCompileUnit)

Here are the examples of the csharp api class Driver.DiscoveryCompiler.GenerateWebReferences(System.Web.Services.Description.WebReference, System.CodeDom.CodeCompileUnit) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

View license
public DiscoveryReference GenerateReference(string nameSpace)
		{
			var codeNamespace = new CodeNamespace(nameSpace);
			var compileUnit = new CodeCompileUnit();
			compileUnit.Namespaces.Add(codeNamespace);

			return GenerateWebReferences(
				new WebReference(discovery.GetDocuments(), codeNamespace, "Soap", null, null),
				compileUnit
			);
		}