Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAttributeGroup.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- UserControl.cs
- GeneratedContractType.cs
- Rule.cs
- MetricEntry.cs
- ControlCollection.cs
- Int32Animation.cs
- EdmProperty.cs
- SmiContext.cs
- Rotation3D.cs
- TargetControlTypeAttribute.cs
- X509RecipientCertificateServiceElement.cs
- XmlSerializerVersionAttribute.cs
- ConnectionManagementSection.cs
- oledbmetadatacollectionnames.cs
- FormParameter.cs
- CustomError.cs
- CommunicationObject.cs
- QueryReaderSettings.cs
- TextContainerChangedEventArgs.cs
- ObjectDataSourceChooseTypePanel.cs
- SchemaHelper.cs
- RefExpr.cs
- PropertyItemInternal.cs
- SqlNotificationRequest.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- SqlTriggerAttribute.cs
- OleDbError.cs
- HtmlTableCellCollection.cs
- RectAnimationBase.cs
- PrintControllerWithStatusDialog.cs
- _Win32.cs
- GroupBoxRenderer.cs
- WebControlAdapter.cs
- RequestCache.cs
- PersistChildrenAttribute.cs
- EntityClassGenerator.cs
- SelectedCellsCollection.cs
- SecurityContext.cs
- FillErrorEventArgs.cs
- FileDetails.cs
- HeaderCollection.cs
- MessageDirection.cs
- MobileUITypeEditor.cs
- DataColumnPropertyDescriptor.cs
- ObjectIDGenerator.cs
- SyndicationContent.cs
- DiagnosticsConfiguration.cs
- ToolBarButton.cs
- ResourceWriter.cs
- NonVisualControlAttribute.cs
- EnterpriseServicesHelper.cs
- CookieParameter.cs
- BitVector32.cs
- CryptoStream.cs
- SingleObjectCollection.cs
- CultureTable.cs
- ADMembershipUser.cs
- listitem.cs
- HttpCookie.cs
- SoapFormatterSinks.cs
- TimeSpan.cs
- CloudCollection.cs
- Vector3DValueSerializer.cs
- ButtonAutomationPeer.cs
- DbTypeMap.cs
- Logging.cs
- Utilities.cs
- UserControlParser.cs
- OleDbTransaction.cs
- TemplateControlBuildProvider.cs
- SiblingIterators.cs
- Internal.cs
- CompModHelpers.cs
- VisualTreeHelper.cs
- MatrixTransform3D.cs
- WebServiceHostFactory.cs
- RightsManagementPermission.cs
- _BasicClient.cs
- CommandManager.cs
- RelationshipSet.cs
- ResolvePPIDRequest.cs
- Codec.cs
- Console.cs
- Pair.cs
- HashCodeCombiner.cs
- RegionIterator.cs
- Point.cs
- ParameterModifier.cs
- ToggleProviderWrapper.cs
- ConfigurationValues.cs
- TreeViewImageKeyConverter.cs
- BinHexEncoder.cs
- GeneralTransform2DTo3DTo2D.cs
- MenuEventArgs.cs
- configsystem.cs
- ProviderManager.cs
- UriSectionData.cs
- FixedHighlight.cs
- MethodExpr.cs
- ToolboxDataAttribute.cs