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
- GenerateScriptTypeAttribute.cs
- DelegateBodyWriter.cs
- ResolvedKeyFrameEntry.cs
- XmlCDATASection.cs
- Int64Converter.cs
- TemplateControlCodeDomTreeGenerator.cs
- VectorValueSerializer.cs
- XmlDomTextWriter.cs
- SapiRecoInterop.cs
- SiblingIterators.cs
- TimeSpan.cs
- ByteRangeDownloader.cs
- XamlVector3DCollectionSerializer.cs
- TypeExtensionConverter.cs
- TagMapInfo.cs
- DelayedRegex.cs
- FieldToken.cs
- DataGridSortingEventArgs.cs
- AuthorizationBehavior.cs
- XmlReaderDelegator.cs
- Item.cs
- Psha1DerivedKeyGenerator.cs
- ConfigurationManagerInternal.cs
- FileDataSourceCache.cs
- DbParameterCollectionHelper.cs
- ListSortDescription.cs
- WindowsTab.cs
- MinMaxParagraphWidth.cs
- TextBoxLine.cs
- MonikerUtility.cs
- SpecialNameAttribute.cs
- CodeGotoStatement.cs
- ConfigXmlDocument.cs
- SystemIPGlobalStatistics.cs
- Hash.cs
- ConstrainedDataObject.cs
- SettingsProviderCollection.cs
- Geometry.cs
- GroupBox.cs
- DataDesignUtil.cs
- Rect.cs
- CatalogZoneDesigner.cs
- CodeIdentifier.cs
- FontStretches.cs
- CrossSiteScriptingValidation.cs
- FatalException.cs
- EditModeSwitchButton.cs
- SoapAttributes.cs
- MatrixAnimationUsingKeyFrames.cs
- WebPartEditorCancelVerb.cs
- RegionInfo.cs
- ModelItemCollectionImpl.cs
- ObjectComplexPropertyMapping.cs
- StrokeNodeOperations.cs
- TimeSpanParse.cs
- MessageQueueInstaller.cs
- DataMisalignedException.cs
- ExpressionPrefixAttribute.cs
- NonBatchDirectoryCompiler.cs
- FileDialog.cs
- ConfigUtil.cs
- HostVisual.cs
- Message.cs
- NamespaceDecl.cs
- XamlWriter.cs
- CapabilitiesUse.cs
- SerializationHelper.cs
- RelationalExpressions.cs
- RevocationPoint.cs
- LongTypeConverter.cs
- XPathAncestorQuery.cs
- MultiBindingExpression.cs
- SqlParameter.cs
- __TransparentProxy.cs
- CrossSiteScriptingValidation.cs
- ActivityDesigner.cs
- SerializationBinder.cs
- ObjectDesignerDataSourceView.cs
- ButtonChrome.cs
- BorderGapMaskConverter.cs
- TraceUtility.cs
- TextPenaltyModule.cs
- TextClipboardData.cs
- OdbcFactory.cs
- WebColorConverter.cs
- ListenerHandler.cs
- PartialCachingAttribute.cs
- LongValidatorAttribute.cs
- DecimalAnimationBase.cs
- IndicCharClassifier.cs
- ConnectionsZoneDesigner.cs
- XPathQilFactory.cs
- TrackingQueryElement.cs
- ClientRuntimeConfig.cs
- listitem.cs
- Matrix3DConverter.cs
- GatewayDefinition.cs
- AsymmetricAlgorithm.cs
- Slider.cs
- xmlfixedPageInfo.cs