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
- InvalidAsynchronousStateException.cs
- ScaleTransform3D.cs
- ConnectionManagementElementCollection.cs
- XslAstAnalyzer.cs
- RowSpanVector.cs
- ScrollableControl.cs
- UnsignedPublishLicense.cs
- Attributes.cs
- VideoDrawing.cs
- XmlAttributeProperties.cs
- DataErrorValidationRule.cs
- TraceSection.cs
- MessageDecoder.cs
- ColorConvertedBitmap.cs
- CalendarTable.cs
- ObjectCloneHelper.cs
- Bold.cs
- UnsafePeerToPeerMethods.cs
- TypefaceCollection.cs
- DependencyPropertyAttribute.cs
- RegexGroupCollection.cs
- Timeline.cs
- WpfKnownMemberInvoker.cs
- TreeNodeClickEventArgs.cs
- XPathSelfQuery.cs
- DbConnectionPool.cs
- SourceFileBuildProvider.cs
- TCEAdapterGenerator.cs
- ToolStripPanelRow.cs
- Label.cs
- StylusDownEventArgs.cs
- PropertySegmentSerializationProvider.cs
- HttpInputStream.cs
- AppDomain.cs
- TrackingMemoryStream.cs
- HTTPNotFoundHandler.cs
- SelectorAutomationPeer.cs
- base64Transforms.cs
- MeshGeometry3D.cs
- DeleteCardRequest.cs
- DataGridViewSelectedColumnCollection.cs
- XomlCompilerResults.cs
- WindowsTreeView.cs
- AssemblyUtil.cs
- LineSegment.cs
- DictionaryEntry.cs
- SamlAssertionKeyIdentifierClause.cs
- TextRangeAdaptor.cs
- ReachSerializerAsync.cs
- selecteditemcollection.cs
- xmlfixedPageInfo.cs
- DeleteMemberBinder.cs
- ApplicationFileCodeDomTreeGenerator.cs
- documentsequencetextpointer.cs
- Types.cs
- GridSplitter.cs
- TextSerializer.cs
- DateTimePicker.cs
- KeyTime.cs
- MemoryMappedFileSecurity.cs
- WindowsFormsHelpers.cs
- SchemaImporter.cs
- Permission.cs
- RoutedCommand.cs
- ChannelProtectionRequirements.cs
- XmlAggregates.cs
- WebPartHelpVerb.cs
- TextFragmentEngine.cs
- InteropAutomationProvider.cs
- TypeDelegator.cs
- DebugView.cs
- BaseCollection.cs
- MenuItem.cs
- APCustomTypeDescriptor.cs
- AutoGeneratedFieldProperties.cs
- StrokeCollectionDefaultValueFactory.cs
- EntityViewGenerationConstants.cs
- XmlMembersMapping.cs
- RecordsAffectedEventArgs.cs
- isolationinterop.cs
- StatusBarItemAutomationPeer.cs
- DependencyPropertyKey.cs
- XmlMemberMapping.cs
- FactoryMaker.cs
- ResourceWriter.cs
- CellPartitioner.cs
- RemotingService.cs
- RawStylusSystemGestureInputReport.cs
- BuildProviderCollection.cs
- UndoManager.cs
- TcpAppDomainProtocolHandler.cs
- Vector3dCollection.cs
- DPCustomTypeDescriptor.cs
- StatusBarAutomationPeer.cs
- SimpleTableProvider.cs
- XpsSerializerWriter.cs
- dataSvcMapFileLoader.cs
- ConstructorBuilder.cs
- BamlRecordHelper.cs
- NamespaceDisplay.xaml.cs