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
- HierarchicalDataBoundControl.cs
- ExpressionPrefixAttribute.cs
- X500Name.cs
- HeaderLabel.cs
- MDIClient.cs
- DropShadowBitmapEffect.cs
- CellPartitioner.cs
- SamlAction.cs
- WindowsScrollBar.cs
- OutputCacheProfile.cs
- XmlNodeReader.cs
- UnhandledExceptionEventArgs.cs
- xsdvalidator.cs
- GeometryModel3D.cs
- HtmlInputCheckBox.cs
- HttpModulesSection.cs
- MonitoringDescriptionAttribute.cs
- StringDictionary.cs
- SchemaMapping.cs
- SQLBytes.cs
- ThemeDirectoryCompiler.cs
- CTreeGenerator.cs
- DataSetSchema.cs
- FileSecurity.cs
- SecurityPermission.cs
- DistributedTransactionPermission.cs
- DecoderReplacementFallback.cs
- PropertyGroupDescription.cs
- CallContext.cs
- PixelFormats.cs
- TemplateControlCodeDomTreeGenerator.cs
- WpfKnownMember.cs
- HttpCookieCollection.cs
- VirtualStackFrame.cs
- RegionIterator.cs
- PermissionSet.cs
- RadioButton.cs
- CalendarTable.cs
- NewExpression.cs
- DataGridCommandEventArgs.cs
- Delegate.cs
- DBNull.cs
- InvokeGenerator.cs
- SudsCommon.cs
- FileCodeGroup.cs
- BuildTopDownAttribute.cs
- KeySplineConverter.cs
- ToolStripPanelRow.cs
- PeerMessageDispatcher.cs
- InfoCardListRequest.cs
- LocalizeDesigner.cs
- IOException.cs
- GiveFeedbackEventArgs.cs
- XsdValidatingReader.cs
- ValueType.cs
- AdapterDictionary.cs
- SourceItem.cs
- EncryptedPackageFilter.cs
- ContentElementAutomationPeer.cs
- XmlSchemaElement.cs
- SystemIPv4InterfaceProperties.cs
- ListControlDataBindingHandler.cs
- Sql8ConformanceChecker.cs
- NameNode.cs
- DeviceContexts.cs
- ToolStripControlHost.cs
- Int32KeyFrameCollection.cs
- Polygon.cs
- CallbackValidatorAttribute.cs
- OrderingExpression.cs
- TimeEnumHelper.cs
- MenuBindingsEditorForm.cs
- ValueQuery.cs
- ClientUrlResolverWrapper.cs
- MsmqMessageSerializationFormat.cs
- WindowShowOrOpenTracker.cs
- SemanticBasicElement.cs
- NetworkCredential.cs
- DynamicResourceExtension.cs
- designeractionbehavior.cs
- HatchBrush.cs
- LinqDataSourceView.cs
- PolyBezierSegment.cs
- SpeechSynthesizer.cs
- EditingMode.cs
- TypeBuilderInstantiation.cs
- ColorConvertedBitmap.cs
- WizardForm.cs
- NullableFloatAverageAggregationOperator.cs
- AspProxy.cs
- CompilerError.cs
- PrintPreviewDialog.cs
- ToolboxComponentsCreatedEventArgs.cs
- StylusPointPropertyUnit.cs
- XmlCustomFormatter.cs
- ProcessInfo.cs
- DefaultValueTypeConverter.cs
- BackgroundFormatInfo.cs
- StatementContext.cs
- CheckBoxFlatAdapter.cs