Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Configuration / XmlFormatExtensionAttribute.cs / 1305376 / XmlFormatExtensionAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Configuration { using System; ////// /// [AttributeUsage(AttributeTargets.Class)] public sealed class XmlFormatExtensionAttribute : Attribute { Type[] types; string name; string ns; ///[To be supplied.] ////// /// public XmlFormatExtensionAttribute() { } ///[To be supplied.] ///public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1) : this(elementName, ns, new Type[] {extensionPoint1}) { } /// public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2}) { } /// public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2, extensionPoint3}) { } /// public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3, Type extensionPoint4) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2, extensionPoint3, extensionPoint4}) { } /// /// /// public XmlFormatExtensionAttribute(string elementName, string ns, Type[] extensionPoints) { this.name = elementName; this.ns = ns; this.types = extensionPoints; } ///[To be supplied.] ////// /// public Type[] ExtensionPoints { get { return types == null ? new Type[0] : types; } set { types = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns == null ? string.Empty : ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string ElementName { get { return name == null ? string.Empty : name; } set { name = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Configuration { using System; ////// /// [AttributeUsage(AttributeTargets.Class)] public sealed class XmlFormatExtensionAttribute : Attribute { Type[] types; string name; string ns; ///[To be supplied.] ////// /// public XmlFormatExtensionAttribute() { } ///[To be supplied.] ///public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1) : this(elementName, ns, new Type[] {extensionPoint1}) { } /// public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2}) { } /// public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2, extensionPoint3}) { } /// public XmlFormatExtensionAttribute(string elementName, string ns, Type extensionPoint1, Type extensionPoint2, Type extensionPoint3, Type extensionPoint4) : this(elementName, ns, new Type[] {extensionPoint1, extensionPoint2, extensionPoint3, extensionPoint4}) { } /// /// /// public XmlFormatExtensionAttribute(string elementName, string ns, Type[] extensionPoints) { this.name = elementName; this.ns = ns; this.types = extensionPoints; } ///[To be supplied.] ////// /// public Type[] ExtensionPoints { get { return types == null ? new Type[0] : types; } set { types = value; } } ///[To be supplied.] ////// /// public string Namespace { get { return ns == null ? string.Empty : ns; } set { ns = value; } } ///[To be supplied.] ////// /// public string ElementName { get { return name == null ? string.Empty : name; } set { name = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlElementList.cs
- ModulesEntry.cs
- RequestQueryProcessor.cs
- UrlAuthFailedErrorFormatter.cs
- DataGridViewCellLinkedList.cs
- DateTimeFormatInfo.cs
- SingleConverter.cs
- StructuredTypeInfo.cs
- CookieHandler.cs
- CalloutQueueItem.cs
- ServiceControllerDesigner.cs
- XmlDomTextWriter.cs
- SizeAnimationUsingKeyFrames.cs
- ClientEndpointLoader.cs
- WebPartChrome.cs
- CommunicationObjectAbortedException.cs
- PrimitiveOperationFormatter.cs
- SplayTreeNode.cs
- TransformedBitmap.cs
- SvcMapFileLoader.cs
- Context.cs
- ControlCachePolicy.cs
- MimeMapping.cs
- PseudoWebRequest.cs
- DispatchOperationRuntime.cs
- ReflectionPermission.cs
- InvokePatternIdentifiers.cs
- Subtract.cs
- Atom10FormatterFactory.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- TabControl.cs
- SafeNativeMethodsMilCoreApi.cs
- ToolStripStatusLabel.cs
- AlphabeticalEnumConverter.cs
- Control.cs
- DataControlButton.cs
- StaticExtensionConverter.cs
- DefaultPrintController.cs
- DbQueryCommandTree.cs
- ProcessingInstructionAction.cs
- CompoundFileStorageReference.cs
- ToolBarButtonClickEvent.cs
- PinnedBufferMemoryStream.cs
- DataGridViewColumnEventArgs.cs
- BamlResourceDeserializer.cs
- ObjectDataSourceEventArgs.cs
- mongolianshape.cs
- ConnectionsZone.cs
- ToolStripLabel.cs
- LogStream.cs
- UrlRoutingModule.cs
- VirtualDirectoryMappingCollection.cs
- TextModifierScope.cs
- BitmapCacheBrush.cs
- FamilyTypeface.cs
- XmlWriterTraceListener.cs
- OdbcInfoMessageEvent.cs
- DesignerActionItemCollection.cs
- ErrorWebPart.cs
- FrameAutomationPeer.cs
- AppLevelCompilationSectionCache.cs
- UserControl.cs
- TreeNode.cs
- ExplicitDiscriminatorMap.cs
- MessageBox.cs
- coordinatorfactory.cs
- BamlBinaryWriter.cs
- URLAttribute.cs
- UInt64.cs
- ServiceNotStartedException.cs
- Matrix.cs
- TraceEventCache.cs
- PageContent.cs
- CryptoConfig.cs
- ComponentManagerBroker.cs
- XmlSerializerSection.cs
- EncryptedPackage.cs
- ListViewGroupItemCollection.cs
- EpmCustomContentWriterNodeData.cs
- SecurityException.cs
- UriExt.cs
- ObjectStateEntry.cs
- TryExpression.cs
- PropertiesTab.cs
- ToolboxItemWrapper.cs
- AssemblyEvidenceFactory.cs
- ReadWriteSpinLock.cs
- HtmlTableRowCollection.cs
- XmlUrlEditor.cs
- OverflowException.cs
- SQLDouble.cs
- SerializationSectionGroup.cs
- DesignerActionUIService.cs
- HandlerBase.cs
- XmlWriterDelegator.cs
- MsmqIntegrationMessageProperty.cs
- FacetChecker.cs
- _CommandStream.cs
- DataGridState.cs
- BindingOperations.cs