Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaGroup.cs / 1305376 / XmlSchemaGroup.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; ////// /// public class XmlSchemaGroup : XmlSchemaAnnotated { string name; XmlSchemaGroupBase particle; XmlSchemaParticle canonicalParticle; XmlQualifiedName qname = XmlQualifiedName.Empty; XmlSchemaGroup redefined; int selfReferenceCount; ///[To be supplied.] ////// /// [XmlAttribute("name")] public string Name { get { return name; } set { name = value; } } ///[To be supplied.] ////// /// [XmlElement("choice", typeof(XmlSchemaChoice)), XmlElement("all", typeof(XmlSchemaAll)), XmlElement("sequence", typeof(XmlSchemaSequence))] public XmlSchemaGroupBase Particle { get { return particle; } set { particle = value; } } [XmlIgnore] public XmlQualifiedName QualifiedName { get { return qname; } } [XmlIgnore] internal XmlSchemaParticle CanonicalParticle { get { return canonicalParticle; } set { canonicalParticle = value; } } [XmlIgnore] internal XmlSchemaGroup 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() { System.Diagnostics.Debug.Assert(false, "Should never call Clone() on XmlSchemaGroup. Call Clone(XmlSchema) instead."); return Clone(null); } internal XmlSchemaObject Clone(XmlSchema parentSchema) { XmlSchemaGroup newGroup = (XmlSchemaGroup)MemberwiseClone(); if (XmlSchemaComplexType.HasParticleRef(this.particle, parentSchema)) { newGroup.particle = XmlSchemaComplexType.CloneParticle(this.particle, parentSchema) as XmlSchemaGroupBase; } newGroup.canonicalParticle = XmlSchemaParticle.Empty; return newGroup; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AdPostCacheSubstitution.cs
- WeakReferenceList.cs
- ToolBar.cs
- TypeLibConverter.cs
- XmlRootAttribute.cs
- CharEntityEncoderFallback.cs
- TableLayoutCellPaintEventArgs.cs
- MenuItemCollection.cs
- DataException.cs
- ClientUtils.cs
- RemoteWebConfigurationHostStream.cs
- DataContractSerializer.cs
- _NestedMultipleAsyncResult.cs
- UnSafeCharBuffer.cs
- PerspectiveCamera.cs
- MapPathBasedVirtualPathProvider.cs
- IWorkflowDebuggerService.cs
- KerberosSecurityTokenAuthenticator.cs
- ConstNode.cs
- DbProviderFactoriesConfigurationHandler.cs
- DPTypeDescriptorContext.cs
- RemoteWebConfigurationHostServer.cs
- Attributes.cs
- ListBoxItemWrapperAutomationPeer.cs
- PrintPageEvent.cs
- LogicalExpr.cs
- CompensatableTransactionScopeActivityDesigner.cs
- GeometryHitTestParameters.cs
- WindowsRichEdit.cs
- DataPagerCommandEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- ViewCellSlot.cs
- EnumValAlphaComparer.cs
- CompositeDataBoundControl.cs
- _Win32.cs
- LocalizationCodeDomSerializer.cs
- __FastResourceComparer.cs
- ConfigurationPropertyAttribute.cs
- AuthorizationSection.cs
- WebPartDisplayModeEventArgs.cs
- LinqDataSource.cs
- TransformValueSerializer.cs
- UnsafeNativeMethodsCLR.cs
- DecimalKeyFrameCollection.cs
- ServicePoint.cs
- DataServiceKeyAttribute.cs
- DataGridComboBoxColumn.cs
- PerspectiveCamera.cs
- BehaviorDragDropEventArgs.cs
- NumericUpDown.cs
- ConcurrencyBehavior.cs
- HashCodeCombiner.cs
- XPathBinder.cs
- CommonDialog.cs
- DataColumnMapping.cs
- LazyTextWriterCreator.cs
- UiaCoreApi.cs
- XmlSchemas.cs
- _CookieModule.cs
- TypeConverterAttribute.cs
- WrapperEqualityComparer.cs
- DocumentPage.cs
- DrawingAttributesDefaultValueFactory.cs
- KeyConstraint.cs
- ValidationRuleCollection.cs
- WindowsGraphicsWrapper.cs
- StructuredTypeEmitter.cs
- PolyBezierSegmentFigureLogic.cs
- Image.cs
- HelpKeywordAttribute.cs
- As.cs
- ResourceSetExpression.cs
- PropertyMappingExceptionEventArgs.cs
- ColorAnimation.cs
- Schema.cs
- Group.cs
- TextDecorations.cs
- ICspAsymmetricAlgorithm.cs
- BamlLocalizableResourceKey.cs
- OpacityConverter.cs
- TableParagraph.cs
- CompositeActivityDesigner.cs
- TransactionInformation.cs
- XmlElement.cs
- DeflateStreamAsyncResult.cs
- Automation.cs
- ColumnMapVisitor.cs
- AutomationPattern.cs
- TemplateLookupAction.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SmiMetaDataProperty.cs
- DataGridViewRowCancelEventArgs.cs
- Substitution.cs
- ZoomPercentageConverter.cs
- printdlgexmarshaler.cs
- SerialErrors.cs
- EntitySetRetriever.cs
- PageThemeParser.cs
- WindowsAuthenticationEventArgs.cs
- HttpServerProtocol.cs