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
- DummyDataSource.cs
- arc.cs
- HttpCapabilitiesSectionHandler.cs
- XamlRtfConverter.cs
- ProtectedConfiguration.cs
- DataKey.cs
- TrimSurroundingWhitespaceAttribute.cs
- PageCatalogPart.cs
- RequestQueryProcessor.cs
- CodeCompiler.cs
- ContainerParagraph.cs
- Classification.cs
- GridItemProviderWrapper.cs
- ListViewUpdateEventArgs.cs
- DataBinder.cs
- StoragePropertyMapping.cs
- WmlValidatorAdapter.cs
- DataBoundControl.cs
- WorkflowMarkupSerializationException.cs
- Int32Rect.cs
- RadioButtonStandardAdapter.cs
- RemoteWebConfigurationHostStream.cs
- PersonalizableAttribute.cs
- IdentityModelStringsVersion1.cs
- _SafeNetHandles.cs
- Scripts.cs
- AttributeTable.cs
- WmlCommandAdapter.cs
- DynamicValueConverter.cs
- ComplexTypeEmitter.cs
- DBCSCodePageEncoding.cs
- RightsManagementEncryptedStream.cs
- WindowsScrollBar.cs
- WindowsToolbarItemAsMenuItem.cs
- PropertyTabChangedEvent.cs
- TextBoxAutomationPeer.cs
- DebugInfoGenerator.cs
- StorageEntityContainerMapping.cs
- ClosableStream.cs
- TextEffectCollection.cs
- ValueConversionAttribute.cs
- ComPlusDiagnosticTraceRecords.cs
- base64Transforms.cs
- OdbcEnvironmentHandle.cs
- ApplicationContext.cs
- SqlBinder.cs
- AuthenticationModulesSection.cs
- FloaterParaClient.cs
- XPathParser.cs
- ADConnectionHelper.cs
- WebEvents.cs
- AllowedAudienceUriElementCollection.cs
- ListComponentEditorPage.cs
- Evaluator.cs
- PerformanceCountersElement.cs
- EffectiveValueEntry.cs
- UnsafeNativeMethodsCLR.cs
- PrintPageEvent.cs
- StreamWriter.cs
- ObjectQuery_EntitySqlExtensions.cs
- DataGridItem.cs
- QilTernary.cs
- EnumType.cs
- NoneExcludedImageIndexConverter.cs
- StorageFunctionMapping.cs
- ProjectionCamera.cs
- ExtensionQuery.cs
- ObjectConverter.cs
- VariantWrapper.cs
- TextRangeBase.cs
- CheckBox.cs
- VectorCollectionValueSerializer.cs
- FormsAuthenticationUser.cs
- StaticContext.cs
- BindingExpressionBase.cs
- WindowsGraphics2.cs
- DesignerExtenders.cs
- CodeSubDirectory.cs
- ProvidersHelper.cs
- EntityTypeBase.cs
- GetResponse.cs
- SHA512Managed.cs
- DomainUpDown.cs
- PageCatalogPart.cs
- DispatcherObject.cs
- KnownTypes.cs
- PathFigureCollection.cs
- LightweightEntityWrapper.cs
- ImageListUtils.cs
- SchemaImporterExtension.cs
- MembershipValidatePasswordEventArgs.cs
- Utils.cs
- ParserOptions.cs
- PermissionRequestEvidence.cs
- WeakReferenceList.cs
- EntitySqlQueryState.cs
- WindowsAltTab.cs
- OleDbException.cs
- HasActivatableWorkflowEvent.cs
- KoreanLunisolarCalendar.cs