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
- TcpTransportBindingElement.cs
- DispatchOperation.cs
- SwitchAttribute.cs
- safemediahandle.cs
- CryptoHandle.cs
- TrueReadOnlyCollection.cs
- DbExpressionVisitor_TResultType.cs
- Application.cs
- DbConnectionClosed.cs
- HelpKeywordAttribute.cs
- RegexCapture.cs
- TimeSpanConverter.cs
- DesignSurfaceCollection.cs
- LogSwitch.cs
- JavaScriptObjectDeserializer.cs
- MailMessageEventArgs.cs
- BidOverLoads.cs
- AlternateView.cs
- FileDetails.cs
- WindowsAuthenticationModule.cs
- QilStrConcat.cs
- EntityDataSource.cs
- TypeSystem.cs
- ReadOnlyDictionary.cs
- ObjectQuery.cs
- SevenBitStream.cs
- SafeCryptContextHandle.cs
- FastEncoder.cs
- UInt64.cs
- DeploymentSection.cs
- WebServiceTypeData.cs
- BuildProvider.cs
- SqlError.cs
- FileVersion.cs
- ListControl.cs
- CompareInfo.cs
- SemaphoreSecurity.cs
- MutableAssemblyCacheEntry.cs
- Condition.cs
- OneOfScalarConst.cs
- ColorInterpolationModeValidation.cs
- ContainsRowNumberChecker.cs
- Baml2006Reader.cs
- TypedTableBase.cs
- Simplifier.cs
- HostVisual.cs
- ISessionStateStore.cs
- DataBinder.cs
- ProfileInfo.cs
- ExclusiveCanonicalizationTransform.cs
- login.cs
- DocumentSignatureManager.cs
- ReadOnlyPropertyMetadata.cs
- ProtocolViolationException.cs
- HtmlInputFile.cs
- StylusOverProperty.cs
- WindowShowOrOpenTracker.cs
- Vector3dCollection.cs
- NullableFloatSumAggregationOperator.cs
- TemplateModeChangedEventArgs.cs
- SaveFileDialog.cs
- GlyphsSerializer.cs
- BasicCellRelation.cs
- LocalizabilityAttribute.cs
- WindowsListViewGroupHelper.cs
- HostExecutionContextManager.cs
- MutexSecurity.cs
- CorrelationManager.cs
- NumberFormatInfo.cs
- OdbcEnvironment.cs
- Operator.cs
- AdPostCacheSubstitution.cs
- Floater.cs
- QilTargetType.cs
- PageParser.cs
- Image.cs
- TableLayoutSettings.cs
- JulianCalendar.cs
- APCustomTypeDescriptor.cs
- ProfileGroupSettings.cs
- XmlWriterTraceListener.cs
- XmlEncoding.cs
- SpanIndex.cs
- SqlCacheDependencyDatabaseCollection.cs
- WebPartDeleteVerb.cs
- PropertyGeneratedEventArgs.cs
- ContentType.cs
- MultiView.cs
- DataTableClearEvent.cs
- JournalNavigationScope.cs
- TabControl.cs
- LogSwitch.cs
- reliableinputsessionchannel.cs
- util.cs
- ISO2022Encoding.cs
- ObjectDataSource.cs
- VarRefManager.cs
- BindingMemberInfo.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- SocketPermission.cs