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
- TdsParserSessionPool.cs
- ListViewTableCell.cs
- X509CertificateCollection.cs
- DataGridViewColumnEventArgs.cs
- SimpleTextLine.cs
- ValidatorCompatibilityHelper.cs
- SerializationStore.cs
- WebServiceErrorEvent.cs
- _ChunkParse.cs
- NativeWindow.cs
- MenuItem.cs
- ValueTable.cs
- XhtmlTextWriter.cs
- X509CertificateInitiatorServiceCredential.cs
- TracedNativeMethods.cs
- OrderPreservingSpoolingTask.cs
- AddIn.cs
- ToolStripContainer.cs
- MethodBuilder.cs
- EventArgs.cs
- BitmapEffect.cs
- ServiceInfoCollection.cs
- SpecialNameAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- SecurityKeyIdentifierClause.cs
- ReferencedAssembly.cs
- OptimizerPatterns.cs
- NativeRecognizer.cs
- GroupQuery.cs
- DataObjectFieldAttribute.cs
- StateDesigner.LayoutSelectionGlyph.cs
- Margins.cs
- SharedConnectionWorkflowTransactionService.cs
- WindowsSolidBrush.cs
- OletxTransactionHeader.cs
- Viewport3DVisual.cs
- DataGridRow.cs
- XmlSchemaSequence.cs
- TimeZone.cs
- Quaternion.cs
- DependencyProperty.cs
- QueryContinueDragEvent.cs
- StreamHelper.cs
- ClientSponsor.cs
- Size.cs
- HandlerMappingMemo.cs
- PolicyValidationException.cs
- TableLayoutStyleCollection.cs
- RectKeyFrameCollection.cs
- ContentHostHelper.cs
- ReadOnlyAttribute.cs
- DataRelationCollection.cs
- ImageIndexConverter.cs
- Action.cs
- SqlDataSourceCustomCommandPanel.cs
- RegexStringValidator.cs
- Model3DGroup.cs
- ColorConverter.cs
- SerialPort.cs
- SwitchLevelAttribute.cs
- SEHException.cs
- ByteViewer.cs
- MenuItemCollectionEditorDialog.cs
- SimpleTypeResolver.cs
- SimpleHandlerFactory.cs
- PrivilegedConfigurationManager.cs
- TextUtf8RawTextWriter.cs
- PassportAuthenticationModule.cs
- FileUtil.cs
- XmlBinaryWriter.cs
- SourceFileInfo.cs
- followingsibling.cs
- AccessDataSourceWizardForm.cs
- SEHException.cs
- CanonicalFormWriter.cs
- FontDriver.cs
- GACMembershipCondition.cs
- OLEDB_Util.cs
- EtwTrace.cs
- FusionWrap.cs
- WebUtil.cs
- RectAnimationUsingKeyFrames.cs
- RSAPKCS1SignatureDeformatter.cs
- PersistenceTypeAttribute.cs
- MetaChildrenColumn.cs
- GridViewRowCollection.cs
- HandlerBase.cs
- NodeFunctions.cs
- QuadraticBezierSegment.cs
- ProtectedConfigurationProviderCollection.cs
- TableRow.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ElementAction.cs
- ChineseLunisolarCalendar.cs
- SecurityManager.cs
- IFormattable.cs
- MarkupCompilePass2.cs
- WmlCalendarAdapter.cs
- TransportChannelFactory.cs
- NativeMethods.cs