Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAttributeGroup.cs / 2 / 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
- TypeUtil.cs
- UseManagedPresentationBindingElement.cs
- NetworkAddressChange.cs
- X509Certificate2.cs
- PriorityQueue.cs
- SafeNativeMethodsOther.cs
- View.cs
- RijndaelManaged.cs
- TimeSpanConverter.cs
- SimpleFieldTemplateUserControl.cs
- CodeIdentifier.cs
- ExclusiveHandle.cs
- SupportsEventValidationAttribute.cs
- Vector3DAnimationBase.cs
- VirtualPathProvider.cs
- TextOutput.cs
- TimeSpanConverter.cs
- ToolBarButton.cs
- MatrixTransform3D.cs
- DataGridViewCellStyle.cs
- DeviceContext2.cs
- FontStretches.cs
- RadioButtonAutomationPeer.cs
- Point3DCollectionConverter.cs
- StylusPlugInCollection.cs
- EncryptedPackageFilter.cs
- NetMsmqSecurityMode.cs
- MenuCommand.cs
- TreeNodeBinding.cs
- MappingModelBuildProvider.cs
- VerificationAttribute.cs
- StrokeCollection.cs
- StructuredCompositeActivityDesigner.cs
- Slider.cs
- _NestedMultipleAsyncResult.cs
- ListComponentEditor.cs
- StreamGeometryContext.cs
- SplitContainerDesigner.cs
- Vector3DCollection.cs
- ActivityWithResult.cs
- ServicePointManagerElement.cs
- elementinformation.cs
- PeerResolverElement.cs
- TextRunProperties.cs
- SpeakProgressEventArgs.cs
- _NtlmClient.cs
- SpoolingTask.cs
- RtfControlWordInfo.cs
- ReflectTypeDescriptionProvider.cs
- AssemblyAttributes.cs
- ProfileGroupSettings.cs
- XmlCharCheckingReader.cs
- RowSpanVector.cs
- TreeView.cs
- MemberAccessException.cs
- CodeArrayCreateExpression.cs
- SessionPageStateSection.cs
- TabControlEvent.cs
- ICspAsymmetricAlgorithm.cs
- InputGestureCollection.cs
- PointAnimationClockResource.cs
- StaticTextPointer.cs
- MutexSecurity.cs
- InternalRelationshipCollection.cs
- EntityDataReader.cs
- ProfileGroupSettingsCollection.cs
- ToolStripItemClickedEventArgs.cs
- SoapIncludeAttribute.cs
- ScopelessEnumAttribute.cs
- ObjectMemberMapping.cs
- CodeMemberProperty.cs
- UserInitiatedRoutedEventPermission.cs
- DataControlReferenceCollection.cs
- Splitter.cs
- ObservableCollectionDefaultValueFactory.cs
- DateTimeStorage.cs
- HtmlInputControl.cs
- ModelPerspective.cs
- TreeViewTemplateSelector.cs
- GroupedContextMenuStrip.cs
- DataServiceProviderMethods.cs
- CodeBlockBuilder.cs
- SingleTagSectionHandler.cs
- UTF32Encoding.cs
- baseshape.cs
- DBParameter.cs
- TrackingMemoryStreamFactory.cs
- ZipFileInfo.cs
- GenericWebPart.cs
- UserMapPath.cs
- ProviderIncompatibleException.cs
- VectorCollectionConverter.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- QilReplaceVisitor.cs
- EnlistmentTraceIdentifier.cs
- ChangeProcessor.cs
- WaitHandle.cs
- MainMenu.cs
- FilterQueryOptionExpression.cs
- SoapUnknownHeader.cs