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
- ResXBuildProvider.cs
- NotFiniteNumberException.cs
- SimpleMailWebEventProvider.cs
- BatchParser.cs
- ButtonChrome.cs
- Selector.cs
- WindowsRebar.cs
- InlinedAggregationOperatorEnumerator.cs
- MergeFilterQuery.cs
- ValueHandle.cs
- VectorCollectionValueSerializer.cs
- RawStylusInput.cs
- PathSegmentCollection.cs
- BufferAllocator.cs
- PropertyPathWorker.cs
- CqlErrorHelper.cs
- ConcurrentDictionary.cs
- CodeArrayCreateExpression.cs
- XmlDocumentFragment.cs
- ListenerPerfCounters.cs
- mansign.cs
- SuppressIldasmAttribute.cs
- Trustee.cs
- WebPartsPersonalization.cs
- AutomationTextAttribute.cs
- DbDataAdapter.cs
- AutoCompleteStringCollection.cs
- EventItfInfo.cs
- XmlSerializerVersionAttribute.cs
- DataSourceBooleanViewSchemaConverter.cs
- ProcessModelSection.cs
- DispatcherProcessingDisabled.cs
- ForceCopyBuildProvider.cs
- Brush.cs
- HitTestWithPointDrawingContextWalker.cs
- Exceptions.cs
- DynamicControl.cs
- DataBoundControlHelper.cs
- Calendar.cs
- ConsoleTraceListener.cs
- FormViewInsertedEventArgs.cs
- SiteOfOriginPart.cs
- DataGridSortCommandEventArgs.cs
- WebMessageBodyStyleHelper.cs
- EdmTypeAttribute.cs
- NegotiationTokenProvider.cs
- ParallelRangeManager.cs
- WebRequestModulesSection.cs
- WindowsClientElement.cs
- RegexMatch.cs
- Monitor.cs
- MediaSystem.cs
- COM2PropertyPageUITypeConverter.cs
- CodeNamespaceCollection.cs
- XsdValidatingReader.cs
- CellQuery.cs
- COM2PropertyBuilderUITypeEditor.cs
- Html32TextWriter.cs
- Int32Storage.cs
- MetadataArtifactLoaderComposite.cs
- StrongName.cs
- BitmapSizeOptions.cs
- LayoutTable.cs
- glyphs.cs
- SurrogateEncoder.cs
- XmlResolver.cs
- BuildResultCache.cs
- ApplicationTrust.cs
- util.cs
- PreviewPageInfo.cs
- UInt64Converter.cs
- ProfileModule.cs
- ResourceWriter.cs
- ProjectionCamera.cs
- CommandHelper.cs
- SmtpLoginAuthenticationModule.cs
- PageParser.cs
- _SSPISessionCache.cs
- EmptyQuery.cs
- DoubleAnimationClockResource.cs
- WebPartTransformerAttribute.cs
- ConnectionManagementSection.cs
- BrowserTree.cs
- PnrpPeerResolverBindingElement.cs
- FocusWithinProperty.cs
- ToolStripGripRenderEventArgs.cs
- wgx_render.cs
- InstanceCreationEditor.cs
- DesignerTransaction.cs
- CompModSwitches.cs
- EnterpriseServicesHelper.cs
- ComboBoxItem.cs
- OleAutBinder.cs
- EntityDataSourceConfigureObjectContext.cs
- TimeSpanMinutesConverter.cs
- CompareValidator.cs
- SqlNotificationEventArgs.cs
- MessageBox.cs
- DateTimeSerializationSection.cs
- DataListItemCollection.cs