Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaChoice.cs / 1 / XmlSchemaChoice.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaChoice : XmlSchemaGroupBase { XmlSchemaObjectCollection items = new XmlSchemaObjectCollection(); ///[To be supplied.] ////// /// [XmlElement("element", typeof(XmlSchemaElement)), XmlElement("group", typeof(XmlSchemaGroupRef)), XmlElement("choice", typeof(XmlSchemaChoice)), XmlElement("sequence", typeof(XmlSchemaSequence)), XmlElement("any", typeof(XmlSchemaAny))] public override XmlSchemaObjectCollection Items { get { return items; } } internal override bool IsEmpty { get { return base.IsEmpty /*|| items.Count == 0*/; } } internal override void SetItems(XmlSchemaObjectCollection newItems) { items = newItems; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //[To be supplied.] ///// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaChoice : XmlSchemaGroupBase { XmlSchemaObjectCollection items = new XmlSchemaObjectCollection(); ///[To be supplied.] ////// /// [XmlElement("element", typeof(XmlSchemaElement)), XmlElement("group", typeof(XmlSchemaGroupRef)), XmlElement("choice", typeof(XmlSchemaChoice)), XmlElement("sequence", typeof(XmlSchemaSequence)), XmlElement("any", typeof(XmlSchemaAny))] public override XmlSchemaObjectCollection Items { get { return items; } } internal override bool IsEmpty { get { return base.IsEmpty /*|| items.Count == 0*/; } } internal override void SetItems(XmlSchemaObjectCollection newItems) { items = newItems; } } } // 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
- PropertyHelper.cs
- DbParameterHelper.cs
- MulticastOption.cs
- StringWriter.cs
- Viewport3DAutomationPeer.cs
- XmlCustomFormatter.cs
- WebPartTracker.cs
- HttpRuntimeSection.cs
- DataRelationCollection.cs
- ConstNode.cs
- ErrorHandler.cs
- DebugView.cs
- GridViewPageEventArgs.cs
- ScriptingProfileServiceSection.cs
- SoapEnumAttribute.cs
- UIElementAutomationPeer.cs
- ExpressionQuoter.cs
- BufferedReadStream.cs
- CustomTypeDescriptor.cs
- WindowsGrip.cs
- StateMachine.cs
- ProgressiveCrcCalculatingStream.cs
- Win32Native.cs
- XmlNamespaceManager.cs
- ProvidersHelper.cs
- SynchronizedKeyedCollection.cs
- MiniLockedBorderGlyph.cs
- RectangleF.cs
- WebControlsSection.cs
- PackageDigitalSignatureManager.cs
- RegexInterpreter.cs
- EventLogger.cs
- filewebresponse.cs
- BaseParser.cs
- WeakReference.cs
- CaretElement.cs
- VisualStyleTypesAndProperties.cs
- StorageMappingFragment.cs
- DataGridRowDetailsEventArgs.cs
- SqlDataSourceFilteringEventArgs.cs
- TrackingMemoryStream.cs
- SourceChangedEventArgs.cs
- SafeHandle.cs
- ProcessStartInfo.cs
- ConnectionPoint.cs
- AspNetPartialTrustHelpers.cs
- DataGridViewCellValueEventArgs.cs
- HighlightVisual.cs
- ObjectViewFactory.cs
- Cursor.cs
- PassportPrincipal.cs
- ConfigXmlText.cs
- documentsequencetextcontainer.cs
- SurrogateSelector.cs
- XmlMembersMapping.cs
- Vector3DAnimationBase.cs
- DataException.cs
- PinnedBufferMemoryStream.cs
- LingerOption.cs
- XmlDataSourceNodeDescriptor.cs
- WsdlEndpointConversionContext.cs
- OracleFactory.cs
- FtpRequestCacheValidator.cs
- Figure.cs
- DateRangeEvent.cs
- CTreeGenerator.cs
- ObjectParameterCollection.cs
- ProcessModuleDesigner.cs
- TextRangeEditTables.cs
- ComplexPropertyEntry.cs
- XmlSchemaSimpleType.cs
- securitycriticaldataformultiplegetandset.cs
- AttributeUsageAttribute.cs
- elementinformation.cs
- DocumentReference.cs
- DbBuffer.cs
- StatusBar.cs
- ModelItemImpl.cs
- FontNameConverter.cs
- ObjectCacheSettings.cs
- MaskedTextBox.cs
- RequestQueue.cs
- MethodBuilderInstantiation.cs
- ToolStripItemImageRenderEventArgs.cs
- Vector3DAnimationBase.cs
- SapiGrammar.cs
- Annotation.cs
- ElementsClipboardData.cs
- ResponseBodyWriter.cs
- HtmlLink.cs
- CmsUtils.cs
- SystemTcpConnection.cs
- DbConnectionClosed.cs
- StringTraceRecord.cs
- ToolStripDropDownClosedEventArgs.cs
- DomainUpDown.cs
- Substitution.cs
- OptimizedTemplateContent.cs
- RoleGroupCollection.cs
- Util.cs