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
- ContextMenu.cs
- DirectoryNotFoundException.cs
- SecureUICommand.cs
- ExpressionCopier.cs
- SqlCachedBuffer.cs
- OleDbCommand.cs
- ServiceHostFactory.cs
- ObjectSecurity.cs
- ExpressionBuilder.cs
- XamlReaderHelper.cs
- BitmapMetadataBlob.cs
- InstanceView.cs
- IriParsingElement.cs
- EntityDataSourceContainerNameItem.cs
- TypeDelegator.cs
- DesignerCalendarAdapter.cs
- Panel.cs
- UndoEngine.cs
- CultureInfoConverter.cs
- TemplateControl.cs
- DataGridToolTip.cs
- BaseDataBoundControl.cs
- FixedSOMTableCell.cs
- DesignTimeHTMLTextWriter.cs
- EllipseGeometry.cs
- GlobalizationSection.cs
- ClientSideQueueItem.cs
- UnsafeNativeMethods.cs
- XmlLoader.cs
- DynamicDocumentPaginator.cs
- JumpPath.cs
- SeverityFilter.cs
- StringBuilder.cs
- EllipticalNodeOperations.cs
- XPathNavigator.cs
- WindowsListViewGroupHelper.cs
- SqlDependency.cs
- GroupBox.cs
- ObservableCollection.cs
- InvalidCastException.cs
- TargetConverter.cs
- EventManager.cs
- CalendarTable.cs
- Contracts.cs
- SafeNativeMethods.cs
- BorderSidesEditor.cs
- LineUtil.cs
- ScrollChrome.cs
- PersonalizableAttribute.cs
- XamlStyleSerializer.cs
- Int32EqualityComparer.cs
- PerfCounters.cs
- WebPartZoneBase.cs
- TextTreeText.cs
- coordinator.cs
- Int16.cs
- RootAction.cs
- CompleteWizardStep.cs
- XPathAncestorIterator.cs
- WebPartCancelEventArgs.cs
- InstanceCollisionException.cs
- ColorAnimation.cs
- ToolStripProgressBar.cs
- RegexBoyerMoore.cs
- HtmlControl.cs
- ErrorHandler.cs
- SqlRewriteScalarSubqueries.cs
- HttpFileCollectionWrapper.cs
- ColorConvertedBitmap.cs
- ResourceDictionaryCollection.cs
- errorpatternmatcher.cs
- TextTreeTextElementNode.cs
- RegisteredDisposeScript.cs
- GlyphRun.cs
- InputElement.cs
- ClassGenerator.cs
- HttpVersion.cs
- SchemaNamespaceManager.cs
- Point3DCollection.cs
- URLMembershipCondition.cs
- CompoundFileStorageReference.cs
- PolyQuadraticBezierSegment.cs
- EditorPart.cs
- FixUpCollection.cs
- ListViewItem.cs
- UniformGrid.cs
- ServiceReference.cs
- ResolvedKeyFrameEntry.cs
- XamlRtfConverter.cs
- FacetValues.cs
- MaskedTextBoxTextEditor.cs
- Vector3DValueSerializer.cs
- Margins.cs
- XmlDeclaration.cs
- GiveFeedbackEventArgs.cs
- TemplateControlParser.cs
- COM2ColorConverter.cs
- NotificationContext.cs
- SnapLine.cs
- StringOutput.cs