Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaChoice.cs / 1305376 / 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
- ApplicationException.cs
- TextClipboardData.cs
- DescriptionAttribute.cs
- SoapIgnoreAttribute.cs
- SQLInt32.cs
- SourceChangedEventArgs.cs
- LogicalTreeHelper.cs
- SecurityKeyType.cs
- SkipQueryOptionExpression.cs
- AxParameterData.cs
- LinqDataSourceDisposeEventArgs.cs
- TokenBasedSet.cs
- ValidationSummary.cs
- CacheMemory.cs
- DataServiceBuildProvider.cs
- HMACSHA384.cs
- EdgeModeValidation.cs
- UnmanagedHandle.cs
- FixedPageProcessor.cs
- PrimitiveXmlSerializers.cs
- PathFigureCollection.cs
- TextFragmentEngine.cs
- ErrorWebPart.cs
- Int64Converter.cs
- XPathException.cs
- PrimitiveDataContract.cs
- WhitespaceRuleLookup.cs
- ScrollableControl.cs
- AddressingVersion.cs
- UrlMapping.cs
- RepeaterItemEventArgs.cs
- SystemThemeKey.cs
- UIElementParaClient.cs
- SingletonConnectionReader.cs
- _ChunkParse.cs
- CellTreeNode.cs
- X509SecurityToken.cs
- OrderPreservingPipeliningMergeHelper.cs
- X500Name.cs
- FileSystemEventArgs.cs
- BindingMAnagerBase.cs
- BooleanAnimationBase.cs
- SymbolEqualComparer.cs
- DBConnectionString.cs
- StringReader.cs
- StyleSelector.cs
- CorrelationManager.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- PopupControlService.cs
- DataGridRowHeaderAutomationPeer.cs
- NetTcpSectionData.cs
- CompositeFontFamily.cs
- DateTimePicker.cs
- TlsnegoTokenProvider.cs
- ContainerActivationHelper.cs
- DataGridViewTextBoxColumn.cs
- ItemAutomationPeer.cs
- UnsafeNativeMethods.cs
- DataGridToolTip.cs
- CacheDict.cs
- IntSecurity.cs
- ControlPaint.cs
- WSSecureConversationDec2005.cs
- PenLineCapValidation.cs
- Sentence.cs
- WebEvents.cs
- NameValueCollection.cs
- DateTimeSerializationSection.cs
- TargetParameterCountException.cs
- Utility.cs
- RuntimeIdentifierPropertyAttribute.cs
- CompareInfo.cs
- Frame.cs
- EventHandlerList.cs
- HitTestResult.cs
- Avt.cs
- OpenTypeLayoutCache.cs
- JsonEnumDataContract.cs
- AccessDataSourceView.cs
- RequestCacheEntry.cs
- FileBasedResourceGroveler.cs
- CannotUnloadAppDomainException.cs
- PropertyPath.cs
- HistoryEventArgs.cs
- PerformanceCounterLib.cs
- FacetDescriptionElement.cs
- DataGridViewBindingCompleteEventArgs.cs
- SqlParameterizer.cs
- StringAnimationBase.cs
- MailWebEventProvider.cs
- XmlChildEnumerator.cs
- Error.cs
- OleDbWrapper.cs
- EmptyEnumerator.cs
- StandardBindingElementCollection.cs
- HtmlInputReset.cs
- UpdatePanelControlTrigger.cs
- CodeIdentifier.cs
- HttpApplicationStateWrapper.cs
- FragmentNavigationEventArgs.cs