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
- CounterSampleCalculator.cs
- MergeFilterQuery.cs
- DataTableMapping.cs
- UnknownWrapper.cs
- ConstraintStruct.cs
- StringKeyFrameCollection.cs
- SqlDataSourceSelectingEventArgs.cs
- XmlNamespaceMappingCollection.cs
- ScaleTransform.cs
- RightsManagementPermission.cs
- WS2007HttpBindingCollectionElement.cs
- COM2ComponentEditor.cs
- QuaternionRotation3D.cs
- DocumentPaginator.cs
- CqlWriter.cs
- DesignerActionTextItem.cs
- EntityDataSourceWrapper.cs
- HttpProcessUtility.cs
- Clipboard.cs
- DbParameterCollectionHelper.cs
- ImageSource.cs
- LocatorManager.cs
- UnSafeCharBuffer.cs
- _RequestCacheProtocol.cs
- SessionPageStatePersister.cs
- Point3DAnimation.cs
- WebHttpBindingElement.cs
- ObjectDataSourceChooseMethodsPanel.cs
- BaseAddressElementCollection.cs
- StateMachineHelpers.cs
- ExpressionPrinter.cs
- Hash.cs
- CodeIdentifier.cs
- StaticTextPointer.cs
- AccessDataSource.cs
- CharEntityEncoderFallback.cs
- TextCharacters.cs
- PrintingPermissionAttribute.cs
- MasterPageCodeDomTreeGenerator.cs
- PermissionAttributes.cs
- ExpressionContext.cs
- ImageFormatConverter.cs
- KeyedHashAlgorithm.cs
- CodeMemberEvent.cs
- ErrorRuntimeConfig.cs
- HtmlTernaryTree.cs
- XPathPatternBuilder.cs
- EventMappingSettingsCollection.cs
- ListViewGroupConverter.cs
- ProtectedConfigurationProviderCollection.cs
- KeyMatchBuilder.cs
- XmlSchemaType.cs
- AnnotationResourceChangedEventArgs.cs
- DesignerWidgets.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- XmlSchemaFacet.cs
- EnumType.cs
- QueryContinueDragEvent.cs
- TableItemStyle.cs
- WebServiceData.cs
- TreeNodeEventArgs.cs
- InstrumentationTracker.cs
- StringKeyFrameCollection.cs
- PerformanceCounterPermissionEntry.cs
- ToolStripStatusLabel.cs
- WebPartExportVerb.cs
- XmlSchemaSimpleContentExtension.cs
- RenderData.cs
- nulltextnavigator.cs
- SpeechRecognizer.cs
- ParameterCollection.cs
- CorrelationManager.cs
- ComponentResourceKeyConverter.cs
- Drawing.cs
- DataGridViewTextBoxColumn.cs
- SQLSingle.cs
- Stream.cs
- BevelBitmapEffect.cs
- TemplatedEditableDesignerRegion.cs
- ListBoxItem.cs
- __ComObject.cs
- columnmapkeybuilder.cs
- TemplatedMailWebEventProvider.cs
- StubHelpers.cs
- GeneralTransform3D.cs
- GifBitmapDecoder.cs
- OSFeature.cs
- Int16Converter.cs
- SignedXml.cs
- X509PeerCertificateAuthenticationElement.cs
- InvalidPrinterException.cs
- MethodRental.cs
- PrimaryKeyTypeConverter.cs
- DataGridViewColumnHeaderCell.cs
- QilReference.cs
- CodeChecksumPragma.cs
- HttpCachePolicy.cs
- RequestQueue.cs
- ListViewSortEventArgs.cs
- ServiceObjectContainer.cs