Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaAttributeGroup.cs / 1 / 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
- ConfigurationConverterBase.cs
- coordinator.cs
- SafeFileMappingHandle.cs
- ExternalException.cs
- EncryptedType.cs
- DbTypeMap.cs
- BaseComponentEditor.cs
- WorkflowServiceHost.cs
- FilteredAttributeCollection.cs
- UpDownEvent.cs
- FormsAuthentication.cs
- XmlWrappingReader.cs
- VirtualDirectoryMapping.cs
- QueryCacheManager.cs
- FormViewModeEventArgs.cs
- CurrencyManager.cs
- ProcessModule.cs
- RepeatInfo.cs
- RandomNumberGenerator.cs
- TextOptionsInternal.cs
- RenameRuleObjectDialog.Designer.cs
- CellCreator.cs
- ImagingCache.cs
- RemotingException.cs
- HtmlShimManager.cs
- ToolboxComponentsCreatedEventArgs.cs
- BoolExpression.cs
- OdbcInfoMessageEvent.cs
- ActivityExecutionFilter.cs
- EditorZone.cs
- QueueSurrogate.cs
- TextEditorTyping.cs
- MachineKeySection.cs
- WebCategoryAttribute.cs
- OdbcEnvironmentHandle.cs
- SafeFileHandle.cs
- DataKey.cs
- ProgressBarHighlightConverter.cs
- ProvideValueServiceProvider.cs
- StateItem.cs
- TransactedBatchContext.cs
- GridViewRow.cs
- Opcode.cs
- EntitySqlQueryCacheEntry.cs
- KerberosSecurityTokenAuthenticator.cs
- TraceInternal.cs
- ToolStripScrollButton.cs
- ProfileEventArgs.cs
- ClientConfigurationSystem.cs
- PerCallInstanceContextProvider.cs
- SchemaInfo.cs
- SingleKeyFrameCollection.cs
- BufferedReadStream.cs
- GeometryCombineModeValidation.cs
- PointCollectionConverter.cs
- DateTimeUtil.cs
- KeyConstraint.cs
- DecimalAnimationBase.cs
- DataGridViewCellMouseEventArgs.cs
- ProfileSettingsCollection.cs
- Wizard.cs
- HttpCapabilitiesEvaluator.cs
- ZipFileInfo.cs
- UserControlParser.cs
- RegionData.cs
- BooleanExpr.cs
- QilNode.cs
- EventArgs.cs
- GridSplitter.cs
- IgnorePropertiesAttribute.cs
- SystemIcmpV4Statistics.cs
- WindowExtensionMethods.cs
- KoreanLunisolarCalendar.cs
- ControlAdapter.cs
- UpdateProgress.cs
- WaitForChangedResult.cs
- TCEAdapterGenerator.cs
- SmiEventSink.cs
- TextShapeableCharacters.cs
- PackWebRequest.cs
- PackagePart.cs
- DependencyObjectPropertyDescriptor.cs
- IsolatedStorageFile.cs
- NegotiationTokenProvider.cs
- RuleInfoComparer.cs
- Header.cs
- ClientConfigurationSystem.cs
- DependentList.cs
- AlphabeticalEnumConverter.cs
- GenericAuthenticationEventArgs.cs
- XmlDataLoader.cs
- SemanticAnalyzer.cs
- XmlChildEnumerator.cs
- FontResourceCache.cs
- LoginName.cs
- ValidationEventArgs.cs
- TogglePatternIdentifiers.cs
- AvTraceDetails.cs
- SafeLibraryHandle.cs
- Menu.cs