Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAttributeGroup.cs / 1 / XmlSchemaAttributeGroup.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaAttributeGroup : XmlSchemaAnnotated { string name; XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection(); XmlSchemaAnyAttribute anyAttribute; XmlQualifiedName qname = XmlQualifiedName.Empty; XmlSchemaAttributeGroup redefined; XmlSchemaObjectTable attributeUses; XmlSchemaAnyAttribute attributeWildcard; int selfReferenceCount; ///[To be supplied.] ////// /// [XmlAttribute("name")] public string Name { get { return name; } set { name = value; } } ///[To be supplied.] ////// /// [XmlElement("attribute", typeof(XmlSchemaAttribute)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] public XmlSchemaObjectCollection Attributes { get { return attributes; } } ///[To be supplied.] ////// /// [XmlElement("anyAttribute")] public XmlSchemaAnyAttribute AnyAttribute { get { return anyAttribute; } set { anyAttribute = value; } } [XmlIgnore] public XmlQualifiedName QualifiedName { get { return qname; } } [XmlIgnore] internal XmlSchemaObjectTable AttributeUses { get { if (attributeUses == null) { attributeUses = new XmlSchemaObjectTable(); } return attributeUses; } } [XmlIgnore] internal XmlSchemaAnyAttribute AttributeWildcard { get { return attributeWildcard; } set { attributeWildcard = value; } } ///[To be supplied.] ///[XmlIgnore] public XmlSchemaAttributeGroup RedefinedAttributeGroup { get { return redefined; } } [XmlIgnore] internal XmlSchemaAttributeGroup Redefined { get { return redefined; } set { redefined = value; } } [XmlIgnore] internal int SelfReferenceCount { get { return selfReferenceCount; } set { selfReferenceCount = value; } } [XmlIgnore] internal override string NameAttribute { get { return Name; } set { Name = value; } } internal void SetQualifiedName(XmlQualifiedName value) { qname = value; } internal override XmlSchemaObject Clone() { XmlSchemaAttributeGroup newGroup = (XmlSchemaAttributeGroup)MemberwiseClone(); if (XmlSchemaComplexType.HasAttributeQNameRef(this.attributes)) { //If a ref/type name is present newGroup.attributes = XmlSchemaComplexType.CloneAttributes(this.attributes); //Clear compiled tables newGroup.attributeUses = null; } return newGroup; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RepeatInfo.cs
- InternalPolicyElement.cs
- WebServiceParameterData.cs
- StreamGeometryContext.cs
- DebugView.cs
- SByteStorage.cs
- EventSinkHelperWriter.cs
- ProfileSettingsCollection.cs
- CacheSection.cs
- MultiViewDesigner.cs
- DefaultTraceListener.cs
- UnsafeMethods.cs
- DataServiceProcessingPipelineEventArgs.cs
- NextPreviousPagerField.cs
- MSHTMLHostUtil.cs
- Parser.cs
- SelectionPattern.cs
- EntityUtil.cs
- Point3D.cs
- CrossAppDomainChannel.cs
- PerformanceCounterLib.cs
- TrackBarRenderer.cs
- X509Certificate.cs
- XmlReaderSettings.cs
- X509Chain.cs
- SoapCodeExporter.cs
- RegexCharClass.cs
- SrgsToken.cs
- OracleRowUpdatedEventArgs.cs
- Permission.cs
- WebControl.cs
- NetDataContractSerializer.cs
- AnimationException.cs
- InkSerializer.cs
- XsltContext.cs
- EntityDataSourceQueryBuilder.cs
- Ports.cs
- SmtpCommands.cs
- NotifyIcon.cs
- MetafileHeader.cs
- x509utils.cs
- ColorAnimationUsingKeyFrames.cs
- IisTraceWebEventProvider.cs
- ToolStripGripRenderEventArgs.cs
- GAC.cs
- ProcessModule.cs
- IsolatedStoragePermission.cs
- AssociationType.cs
- ListViewContainer.cs
- ControlCollection.cs
- Style.cs
- DataObject.cs
- StringStorage.cs
- ContentAlignmentEditor.cs
- HMACRIPEMD160.cs
- AnimatedTypeHelpers.cs
- EmptyElement.cs
- Crc32.cs
- RuntimeWrappedException.cs
- DataGridViewLayoutData.cs
- ChannelManager.cs
- Popup.cs
- XmlChoiceIdentifierAttribute.cs
- SelectionListComponentEditor.cs
- ZipIOLocalFileHeader.cs
- GACIdentityPermission.cs
- UserPreferenceChangingEventArgs.cs
- HttpProtocolImporter.cs
- designeractionbehavior.cs
- CustomUserNameSecurityTokenAuthenticator.cs
- PointHitTestParameters.cs
- AxHost.cs
- MatrixKeyFrameCollection.cs
- RectangleGeometry.cs
- WaitForChangedResult.cs
- DbDataAdapter.cs
- StylusPlugInCollection.cs
- TypeSemantics.cs
- UIPropertyMetadata.cs
- XhtmlTextWriter.cs
- WorkflowInspectionServices.cs
- Expander.cs
- MessageQueueConverter.cs
- UnsafeNativeMethodsCLR.cs
- EventLogTraceListener.cs
- TextMarkerSource.cs
- IProducerConsumerCollection.cs
- StringFormat.cs
- IDQuery.cs
- RemoveFromCollection.cs
- EventLog.cs
- WizardStepBase.cs
- FontCollection.cs
- PreDigestedSignedInfo.cs
- CompositeCollectionView.cs
- HighlightOverlayGlyph.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- X509WindowsSecurityToken.cs
- LocalFileSettingsProvider.cs
- BamlResourceContent.cs