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
- FrameworkContentElement.cs
- LoggedException.cs
- LabelLiteral.cs
- BindingExpressionBase.cs
- MultiAsyncResult.cs
- XPathNode.cs
- PageBreakRecord.cs
- SmiRecordBuffer.cs
- DataServiceEntityAttribute.cs
- ManualResetEvent.cs
- RemoteWebConfigurationHostStream.cs
- MergeLocalizationDirectives.cs
- DeploymentExceptionMapper.cs
- SrgsElementFactory.cs
- ObsoleteAttribute.cs
- QilInvoke.cs
- CodeTypeReferenceCollection.cs
- GridItemPattern.cs
- IIS7UserPrincipal.cs
- ValidateNames.cs
- StructuredTypeEmitter.cs
- IsolatedStoragePermission.cs
- CodeAccessSecurityEngine.cs
- UniformGrid.cs
- SingleKeyFrameCollection.cs
- RecordsAffectedEventArgs.cs
- UriSection.cs
- Listbox.cs
- KerberosTokenFactoryCredential.cs
- TypeBuilder.cs
- ConnectivityStatus.cs
- SortedList.cs
- CheckBoxField.cs
- HttpModuleActionCollection.cs
- VirtualPathUtility.cs
- VisualBrush.cs
- BindStream.cs
- oledbmetadatacolumnnames.cs
- ToolStripOverflow.cs
- UInt64Storage.cs
- CodeTypeDeclaration.cs
- DrawListViewSubItemEventArgs.cs
- CompositeScriptReferenceEventArgs.cs
- SqlEnums.cs
- MarshalByValueComponent.cs
- CompilerState.cs
- GZipStream.cs
- DocumentPaginator.cs
- OciLobLocator.cs
- SymbolType.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ReverseInheritProperty.cs
- PrintSystemException.cs
- InputMethod.cs
- ToolBarDesigner.cs
- InputScope.cs
- DataGridrowEditEndingEventArgs.cs
- SpoolingTask.cs
- AllowedAudienceUriElementCollection.cs
- HierarchicalDataBoundControl.cs
- TypeSystemProvider.cs
- TypeUtil.cs
- CodeSnippetStatement.cs
- PointConverter.cs
- ClientSettingsSection.cs
- Storyboard.cs
- BindingNavigatorDesigner.cs
- SamlSubjectStatement.cs
- ToolStripContentPanelRenderEventArgs.cs
- ConfigurationElementProperty.cs
- remotingproxy.cs
- StickyNote.cs
- HttpAsyncResult.cs
- MimeMapping.cs
- OutputCacheSection.cs
- KnownBoxes.cs
- PropertyEntry.cs
- CodeTypeReference.cs
- BehaviorDragDropEventArgs.cs
- ProfileGroupSettings.cs
- HtmlString.cs
- HttpCachePolicy.cs
- DateBoldEvent.cs
- BasicAsyncResult.cs
- AccessibleObject.cs
- PriorityChain.cs
- UserControl.cs
- FunctionCommandText.cs
- StylusPointPropertyInfo.cs
- PeerContact.cs
- TagMapInfo.cs
- dbenumerator.cs
- ToolboxItemCollection.cs
- DropDownList.cs
- DataPager.cs
- DispatchChannelSink.cs
- EndpointAddressMessageFilterTable.cs
- XmlSchemaAnyAttribute.cs
- PixelFormat.cs
- KeyManager.cs