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
- codemethodreferenceexpression.cs
- SoapSchemaImporter.cs
- ServiceAuthorizationElement.cs
- Ipv6Element.cs
- XmlSerializationReader.cs
- LoginView.cs
- MoveSizeWinEventHandler.cs
- BufferedGraphicsContext.cs
- TransactedReceiveScope.cs
- AnchoredBlock.cs
- InheritanceContextChangedEventManager.cs
- AuthorizationRuleCollection.cs
- SocketCache.cs
- Base64Decoder.cs
- LabelAutomationPeer.cs
- OutputCacheSettingsSection.cs
- EncoderExceptionFallback.cs
- ListParagraph.cs
- ModelItemCollection.cs
- ApplicationActivator.cs
- DictionaryCustomTypeDescriptor.cs
- InvalidOperationException.cs
- ModulesEntry.cs
- DataGridItem.cs
- DragEvent.cs
- CodeDirectionExpression.cs
- XmlSchemaSearchPattern.cs
- ApplicationDirectory.cs
- EnumerableRowCollection.cs
- DependencyPropertyKind.cs
- RefreshEventArgs.cs
- ArcSegment.cs
- EdgeProfileValidation.cs
- CodeObjectCreateExpression.cs
- cache.cs
- processwaithandle.cs
- ColorConverter.cs
- TdsRecordBufferSetter.cs
- RIPEMD160Managed.cs
- FormsAuthentication.cs
- PathNode.cs
- DBNull.cs
- CharStorage.cs
- ExpressionSelection.cs
- TokenCreationException.cs
- TextBoxRenderer.cs
- ButtonBase.cs
- WsdlInspector.cs
- ImageSource.cs
- ColumnMapVisitor.cs
- TickBar.cs
- SiteMembershipCondition.cs
- BitmapImage.cs
- cookiecollection.cs
- FolderNameEditor.cs
- OleDbException.cs
- WebPartEventArgs.cs
- ScrollPatternIdentifiers.cs
- DoubleLink.cs
- RsaKeyIdentifierClause.cs
- ValueType.cs
- ProfileSettings.cs
- RowParagraph.cs
- Menu.cs
- OutOfMemoryException.cs
- FontDifferentiator.cs
- BindingNavigatorDesigner.cs
- HotSpot.cs
- HttpHandlersSection.cs
- DetailsViewDeleteEventArgs.cs
- mactripleDES.cs
- HttpCookiesSection.cs
- ImageIndexConverter.cs
- RunInstallerAttribute.cs
- SwitchElementsCollection.cs
- SourceLocationProvider.cs
- SiteMapNodeCollection.cs
- Message.cs
- PagesSection.cs
- StrokeCollection2.cs
- RoutedEvent.cs
- ClipboardData.cs
- TypeSystemProvider.cs
- Pkcs9Attribute.cs
- PropertyTab.cs
- StreamingContext.cs
- PolyQuadraticBezierSegment.cs
- DateTimeFormatInfoScanner.cs
- Dispatcher.cs
- TemplatedMailWebEventProvider.cs
- TextBoxBase.cs
- datacache.cs
- LongValidator.cs
- QuarticEase.cs
- AsyncResult.cs
- SoapHeader.cs
- RijndaelManaged.cs
- BitmapInitialize.cs
- ProgressBar.cs
- AccessViolationException.cs