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
- AuthenticationException.cs
- Unit.cs
- ColorBlend.cs
- CodeDomConfigurationHandler.cs
- ExpressionPrinter.cs
- MsmqIntegrationInputChannel.cs
- CFStream.cs
- DesignerVerb.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ConfigurationLocation.cs
- SessionEndingCancelEventArgs.cs
- ImmutablePropertyDescriptorGridEntry.cs
- OdbcException.cs
- UInt32Converter.cs
- UserMapPath.cs
- IgnoreSectionHandler.cs
- CounterSample.cs
- TextRunTypographyProperties.cs
- ProxyGenerationError.cs
- DelayedRegex.cs
- DataServiceQueryException.cs
- ContainerActivationHelper.cs
- SamlAuthorizationDecisionStatement.cs
- HtmlFormAdapter.cs
- SubMenuStyleCollection.cs
- Int16AnimationBase.cs
- ObjectMaterializedEventArgs.cs
- TransactionFlowBindingElement.cs
- AppSettingsExpressionBuilder.cs
- relpropertyhelper.cs
- PageWrapper.cs
- CodeMemberEvent.cs
- XmlWrappingWriter.cs
- ShapeTypeface.cs
- Events.cs
- GridViewRowCollection.cs
- RoutedEventConverter.cs
- PartialCachingControl.cs
- LoginStatusDesigner.cs
- DataPointer.cs
- SerializerDescriptor.cs
- NameNode.cs
- NetworkInterface.cs
- DecimalFormatter.cs
- DeferredReference.cs
- HtmlTable.cs
- DeferrableContent.cs
- AstTree.cs
- HtmlImage.cs
- TextElementAutomationPeer.cs
- PreviewKeyDownEventArgs.cs
- ProfessionalColorTable.cs
- GeneralTransform2DTo3D.cs
- TextSchema.cs
- AuthenticationModeHelper.cs
- SHA512.cs
- CheckBoxField.cs
- SQLByte.cs
- TraceFilter.cs
- LicenseException.cs
- FormViewDeletedEventArgs.cs
- AssemblyInfo.cs
- AssertFilter.cs
- Page.cs
- FixedPageAutomationPeer.cs
- XmlSerializerFactory.cs
- WindowsTokenRoleProvider.cs
- DataServiceContext.cs
- HeaderedContentControl.cs
- SoapDocumentServiceAttribute.cs
- CommandSet.cs
- StretchValidation.cs
- SHA384Managed.cs
- ColumnWidthChangingEvent.cs
- DataControlLinkButton.cs
- ReferencedAssembly.cs
- VariantWrapper.cs
- ApplicationSecurityInfo.cs
- GB18030Encoding.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DataGridViewControlCollection.cs
- Bold.cs
- WindowCollection.cs
- Condition.cs
- OutputCacheSection.cs
- GridViewColumnCollection.cs
- HandleValueEditor.cs
- TrustManager.cs
- HttpProfileGroupBase.cs
- OracleParameterBinding.cs
- RegionData.cs
- DecodeHelper.cs
- StylusEditingBehavior.cs
- SortQueryOperator.cs
- EditorZoneBase.cs
- InvokeProviderWrapper.cs
- SiteMapSection.cs
- StatusStrip.cs
- WindowsSolidBrush.cs
- TextContainerHelper.cs