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
- PageParserFilter.cs
- MemoryFailPoint.cs
- ImageList.cs
- NamespaceList.cs
- DefaultTextStoreTextComposition.cs
- HttpCachePolicy.cs
- MenuItemStyle.cs
- ScrollEventArgs.cs
- TreeViewHitTestInfo.cs
- IPPacketInformation.cs
- MonitoringDescriptionAttribute.cs
- HttpSessionStateBase.cs
- DbQueryCommandTree.cs
- Wildcard.cs
- DetailsViewUpdateEventArgs.cs
- PaintEvent.cs
- GeometryValueSerializer.cs
- Function.cs
- FloatAverageAggregationOperator.cs
- ILGenerator.cs
- counter.cs
- XmlReaderDelegator.cs
- DSASignatureFormatter.cs
- basevalidator.cs
- XmlSchemaDocumentation.cs
- CommandDevice.cs
- ConnectionStringSettingsCollection.cs
- ToolStripPanelDesigner.cs
- DbDataReader.cs
- cookie.cs
- Rotation3D.cs
- SafeNativeMethods.cs
- NullRuntimeConfig.cs
- ErrorHandler.cs
- QilInvokeEarlyBound.cs
- unsafenativemethodstextservices.cs
- OutputCacheProfileCollection.cs
- SpanIndex.cs
- EncoderParameters.cs
- BufferedGraphicsContext.cs
- ProcessModuleCollection.cs
- MethodRental.cs
- Single.cs
- ExpressionPrefixAttribute.cs
- XmlAttributeCollection.cs
- SwitchAttribute.cs
- basenumberconverter.cs
- CodeSnippetCompileUnit.cs
- XmlNamedNodeMap.cs
- ScaleTransform3D.cs
- SerializationException.cs
- WrappedIUnknown.cs
- ToolZoneDesigner.cs
- SelectionRangeConverter.cs
- Char.cs
- XmlNamespaceDeclarationsAttribute.cs
- SendKeys.cs
- XslAstAnalyzer.cs
- Viewport3DVisual.cs
- VoiceSynthesis.cs
- SqlCommandSet.cs
- CellParagraph.cs
- XmlQueryContext.cs
- ParserContext.cs
- CodeDomDecompiler.cs
- SQLInt32.cs
- TextCollapsingProperties.cs
- MatrixAnimationUsingPath.cs
- Constants.cs
- CodeIdentifiers.cs
- BaseTemplateCodeDomTreeGenerator.cs
- GeneralTransform3D.cs
- WebPartConnectionsCancelVerb.cs
- StringToken.cs
- OrderedDictionary.cs
- SudsParser.cs
- WindowsPrincipal.cs
- MsmqException.cs
- WorkflowOperationBehavior.cs
- StyleTypedPropertyAttribute.cs
- HttpResponseBase.cs
- EnumType.cs
- SimpleMailWebEventProvider.cs
- TextSpanModifier.cs
- WSTrust.cs
- ViewgenGatekeeper.cs
- PrintPreviewControl.cs
- PropertyGridDesigner.cs
- XmlnsPrefixAttribute.cs
- BamlLocalizableResourceKey.cs
- DiagnosticsConfiguration.cs
- ObjectParameterCollection.cs
- XmlDataSource.cs
- ExclusiveTcpTransportManager.cs
- ChoiceConverter.cs
- TableLayoutSettingsTypeConverter.cs
- WindowsAuthenticationModule.cs
- NativeObjectSecurity.cs
- TypeUsage.cs
- FlowDocument.cs