Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / ManagedLibraries / Remoting / MetaData / SudsWriter.cs / 1305376 / SudsWriter.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //============================================================ // // File: SudsWriter.cs //// Author: Gopal Kakivaya (GopalK) // // Purpose: Defines SUDSParser that parses a given SUDS document // and generates types defined in it. // // Date: April 01, 2000 // Revised: November 15, 2000 (Wsdl)[....] // //=========================================================== namespace System.Runtime.Remoting.MetadataServices { using System; using System.Runtime.Serialization; using System.IO; using System.Reflection; // Represents exceptions thrown by the SUDSGenerator [Serializable()] public class SUDSGeneratorException : Exception { internal SUDSGeneratorException(String msg) : base(msg) { } protected SUDSGeneratorException(SerializationInfo info, StreamingContext context): base(info, context) {} } // This class generates SUDS documents internal class SUDSGenerator { WsdlGenerator wsdlGenerator = null; SdlType sdlType; // Constructor internal SUDSGenerator(Type[] types, SdlType sdlType, TextWriter output) { Util.Log("SUDSGenerator.SUDSGenerator 2"); wsdlGenerator = new WsdlGenerator(types, sdlType, output); this.sdlType = sdlType; } internal SUDSGenerator(ServiceType[] serviceTypes, SdlType sdlType, TextWriter output) { Util.Log("SUDSGenerator.SUDSGenerator 5 "); wsdlGenerator = new WsdlGenerator(serviceTypes, sdlType, output); this.sdlType = sdlType; } // Generates SUDS internal void Generate() { Util.Log("SUDSGenerator.Generate"); wsdlGenerator.Generate(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //============================================================ // // File: SudsWriter.cs //// Author: Gopal Kakivaya (GopalK) // // Purpose: Defines SUDSParser that parses a given SUDS document // and generates types defined in it. // // Date: April 01, 2000 // Revised: November 15, 2000 (Wsdl)[....] // //=========================================================== namespace System.Runtime.Remoting.MetadataServices { using System; using System.Runtime.Serialization; using System.IO; using System.Reflection; // Represents exceptions thrown by the SUDSGenerator [Serializable()] public class SUDSGeneratorException : Exception { internal SUDSGeneratorException(String msg) : base(msg) { } protected SUDSGeneratorException(SerializationInfo info, StreamingContext context): base(info, context) {} } // This class generates SUDS documents internal class SUDSGenerator { WsdlGenerator wsdlGenerator = null; SdlType sdlType; // Constructor internal SUDSGenerator(Type[] types, SdlType sdlType, TextWriter output) { Util.Log("SUDSGenerator.SUDSGenerator 2"); wsdlGenerator = new WsdlGenerator(types, sdlType, output); this.sdlType = sdlType; } internal SUDSGenerator(ServiceType[] serviceTypes, SdlType sdlType, TextWriter output) { Util.Log("SUDSGenerator.SUDSGenerator 5 "); wsdlGenerator = new WsdlGenerator(serviceTypes, sdlType, output); this.sdlType = sdlType; } // Generates SUDS internal void Generate() { Util.Log("SUDSGenerator.Generate"); wsdlGenerator.Generate(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ActiveDocumentEvent.cs
- DocumentGridPage.cs
- GeneratedContractType.cs
- StrongNamePublicKeyBlob.cs
- JsonXmlDataContract.cs
- Symbol.cs
- Privilege.cs
- CryptoSession.cs
- InlineCollection.cs
- LinkClickEvent.cs
- MembershipAdapter.cs
- DateTimeOffsetConverter.cs
- SqlLiftIndependentRowExpressions.cs
- ActivityTypeResolver.xaml.cs
- SuppressMergeCheckAttribute.cs
- AspNetSynchronizationContext.cs
- XsdValidatingReader.cs
- ContextInformation.cs
- SystemIPInterfaceStatistics.cs
- ReflectionPermission.cs
- XmlSchemaValidator.cs
- XmlWrappingWriter.cs
- GenericEnumerator.cs
- BufferedGraphicsContext.cs
- AssemblyBuilderData.cs
- ClockGroup.cs
- TextOptionsInternal.cs
- ContractsBCL.cs
- ActionItem.cs
- DefaultWorkflowLoaderService.cs
- NavigationProperty.cs
- UrlUtility.cs
- TiffBitmapDecoder.cs
- BindingCompleteEventArgs.cs
- JsonWriter.cs
- Inflater.cs
- WindowsTreeView.cs
- _ContextAwareResult.cs
- CompositeCollection.cs
- Int32RectValueSerializer.cs
- ObjectToModelValueConverter.cs
- TrackingRecordPreFilter.cs
- RequestCachingSection.cs
- Metadata.cs
- OracleParameterBinding.cs
- WebPart.cs
- PersonalizationProviderCollection.cs
- PasswordDeriveBytes.cs
- XmlLangPropertyAttribute.cs
- CodePageUtils.cs
- DesignTableCollection.cs
- metadatamappinghashervisitor.cs
- CacheDependency.cs
- DbParameterHelper.cs
- SHA512Managed.cs
- LocalizationParserHooks.cs
- NetWebProxyFinder.cs
- CanonicalXml.cs
- CancelAsyncOperationRequest.cs
- PenThreadPool.cs
- WindowsTitleBar.cs
- LogoValidationException.cs
- ProfessionalColors.cs
- ScriptingScriptResourceHandlerSection.cs
- EntityClientCacheEntry.cs
- XmlMapping.cs
- XsdDataContractExporter.cs
- EntryWrittenEventArgs.cs
- Membership.cs
- ControlBindingsCollection.cs
- oledbmetadatacollectionnames.cs
- Cursors.cs
- NullEntityWrapper.cs
- ProviderMetadata.cs
- XPathDocumentIterator.cs
- IItemProperties.cs
- Function.cs
- HtmlElementErrorEventArgs.cs
- DependencyStoreSurrogate.cs
- SEHException.cs
- NumericUpDownAcceleration.cs
- StringFunctions.cs
- ProvidePropertyAttribute.cs
- DataTablePropertyDescriptor.cs
- DbCommandDefinition.cs
- WindowsGraphics2.cs
- DbProviderFactory.cs
- StatusStrip.cs
- RadioButton.cs
- FormsAuthenticationEventArgs.cs
- WindowsIPAddress.cs
- PropertySourceInfo.cs
- SQLResource.cs
- WebReferencesBuildProvider.cs
- ConnectorDragDropGlyph.cs
- SecurityContextSecurityTokenResolver.cs
- DllNotFoundException.cs
- SessionEndingEventArgs.cs
- CommandField.cs
- __ComObject.cs