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
- XNodeSchemaApplier.cs
- XamlTemplateSerializer.cs
- CryptoProvider.cs
- AsymmetricSignatureFormatter.cs
- SQLMoneyStorage.cs
- SocketElement.cs
- SystemDropShadowChrome.cs
- TimestampInformation.cs
- DbMetaDataColumnNames.cs
- ColumnHeaderConverter.cs
- PermissionToken.cs
- ObjectContext.cs
- ApplicationSecurityManager.cs
- TranslateTransform.cs
- NamedPipeAppDomainProtocolHandler.cs
- SevenBitStream.cs
- DrawingContextWalker.cs
- TreeNodeConverter.cs
- UInt64Converter.cs
- XmlParserContext.cs
- GeometryCollection.cs
- GroupQuery.cs
- SHA256.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- OdbcError.cs
- EntityDataSourceDesigner.cs
- DataGridViewElement.cs
- sqlpipe.cs
- FrameworkElement.cs
- StringDictionary.cs
- TraceListeners.cs
- TextContainerChangedEventArgs.cs
- X509KeyIdentifierClauseType.cs
- CloseSequenceResponse.cs
- ComPlusTypeLoader.cs
- Monitor.cs
- ToolStripItemImageRenderEventArgs.cs
- FrameSecurityDescriptor.cs
- TypedDatasetGenerator.cs
- ToolStripOverflowButton.cs
- AppDomainFactory.cs
- LinqDataSourceDisposeEventArgs.cs
- HostingEnvironmentException.cs
- MulticastDelegate.cs
- TimelineGroup.cs
- EntityDataSourceState.cs
- TextViewSelectionProcessor.cs
- BulletChrome.cs
- ActivationServices.cs
- BitmapFrame.cs
- SqlTriggerAttribute.cs
- WebServiceTypeData.cs
- ExtensibleClassFactory.cs
- ClientRuntimeConfig.cs
- SelectionHighlightInfo.cs
- RSAPKCS1KeyExchangeFormatter.cs
- WebPartConnectionCollection.cs
- XpsS0ValidatingLoader.cs
- WindowsListViewItem.cs
- DocumentAutomationPeer.cs
- ReflectionServiceProvider.cs
- PathFigure.cs
- Part.cs
- ImageMap.cs
- ComProxy.cs
- ProviderSettings.cs
- AdjustableArrowCap.cs
- KnownIds.cs
- ElementNotAvailableException.cs
- DisableDpiAwarenessAttribute.cs
- WebPartConnectionsConfigureVerb.cs
- WebPartAddingEventArgs.cs
- TextEditorTables.cs
- DynamicRenderer.cs
- LabelDesigner.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ImageField.cs
- BeginSelectCardRequest.cs
- XmlWriter.cs
- Graphics.cs
- ToolStripDropDownClosingEventArgs.cs
- CustomActivityDesigner.cs
- InitialServerConnectionReader.cs
- MexServiceChannelBuilder.cs
- _OSSOCK.cs
- RemotingServices.cs
- ScriptComponentDescriptor.cs
- JsonEnumDataContract.cs
- TypedTableBaseExtensions.cs
- MemoryRecordBuffer.cs
- ComponentCache.cs
- ManagementEventWatcher.cs
- InvalidDataContractException.cs
- Logging.cs
- XmlIlTypeHelper.cs
- MethodToken.cs
- SetStateDesigner.cs
- ResourceManagerWrapper.cs
- FixedDSBuilder.cs
- ColumnTypeConverter.cs