Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SafeFileHandle.cs
- Timer.cs
- NonParentingControl.cs
- DataGridCommandEventArgs.cs
- HyperLink.cs
- MediaCommands.cs
- namescope.cs
- NameValueSectionHandler.cs
- Journaling.cs
- path.cs
- PropertyCondition.cs
- ObfuscationAttribute.cs
- DragEvent.cs
- AuthenticationServiceManager.cs
- AccessDataSourceDesigner.cs
- PeerNameRecordCollection.cs
- DocumentXPathNavigator.cs
- PagesChangedEventArgs.cs
- StringArrayEditor.cs
- ISAPIApplicationHost.cs
- Point3DAnimationUsingKeyFrames.cs
- DataControlFieldCollection.cs
- DataGridViewRowConverter.cs
- ConfigurationSectionGroup.cs
- TdsParameterSetter.cs
- GeneralTransform3DGroup.cs
- Label.cs
- MenuEventArgs.cs
- CompilationUtil.cs
- DataGridViewTextBoxColumn.cs
- TreeViewEvent.cs
- SqlWebEventProvider.cs
- LOSFormatter.cs
- followingsibling.cs
- LocatorManager.cs
- SqlCommandSet.cs
- mediaeventargs.cs
- TemplatePagerField.cs
- ApplicationException.cs
- Ray3DHitTestResult.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- ADMembershipUser.cs
- EmptyEnumerator.cs
- BuildProvidersCompiler.cs
- EditableTreeList.cs
- DocumentPropertiesDialog.cs
- MaskedTextBoxDesignerActionList.cs
- XmlChildNodes.cs
- BitmapPalette.cs
- DataGrid.cs
- OpenTypeLayout.cs
- IsolatedStorageFilePermission.cs
- IDReferencePropertyAttribute.cs
- XmlWriter.cs
- InvokeProviderWrapper.cs
- DbRetry.cs
- ConfigXmlWhitespace.cs
- DataRelation.cs
- ReferenceService.cs
- x509store.cs
- ToolStripCollectionEditor.cs
- NumberFunctions.cs
- MenuEventArgs.cs
- AssemblyBuilderData.cs
- IsolatedStoragePermission.cs
- RegistryPermission.cs
- IpcChannelHelper.cs
- WebPartZoneBase.cs
- SqlRowUpdatedEvent.cs
- TypeReference.cs
- ReceiveParametersContent.cs
- WebPartsSection.cs
- ValidationRuleCollection.cs
- ScrollBar.cs
- WindowsToolbarAsMenu.cs
- TabPageDesigner.cs
- CacheRequest.cs
- NumericUpDownAccelerationCollection.cs
- httpapplicationstate.cs
- SqlFileStream.cs
- PathGradientBrush.cs
- SessionState.cs
- EventWaitHandleSecurity.cs
- DataBinder.cs
- OleDbErrorCollection.cs
- GridViewRowPresenterBase.cs
- Transform3D.cs
- SslStreamSecurityBindingElement.cs
- WrapperEqualityComparer.cs
- NavigatingCancelEventArgs.cs
- Pointer.cs
- AssemblyInfo.cs
- TextAnchor.cs
- ScriptControl.cs
- ComEventsSink.cs
- RoutedEventConverter.cs
- SqlXml.cs
- FrugalList.cs
- DataRowView.cs
- TextViewSelectionProcessor.cs