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;
///
///
/// [To be supplied.]
///
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.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Collections;
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SplitterEvent.cs
- StdValidatorsAndConverters.cs
- _Events.cs
- InvokeProviderWrapper.cs
- DataRowChangeEvent.cs
- ResourcePool.cs
- StorageRoot.cs
- CriticalHandle.cs
- FixedTextPointer.cs
- StylusPointCollection.cs
- SoapObjectWriter.cs
- AQNBuilder.cs
- LockRecoveryTask.cs
- CroppedBitmap.cs
- PagesSection.cs
- TypedTableBase.cs
- InputProcessorProfilesLoader.cs
- FileCodeGroup.cs
- Command.cs
- DbInsertCommandTree.cs
- EventDescriptor.cs
- SwitchAttribute.cs
- Label.cs
- ReadContentAsBinaryHelper.cs
- SoapElementAttribute.cs
- EventProxy.cs
- PositiveTimeSpanValidator.cs
- Effect.cs
- SHA384.cs
- RepeatBehaviorConverter.cs
- PathParser.cs
- DbProviderFactoriesConfigurationHandler.cs
- SaveRecipientRequest.cs
- GridViewUpdatedEventArgs.cs
- FixedBufferAttribute.cs
- UidPropertyAttribute.cs
- SubclassTypeValidator.cs
- XmlDesignerDataSourceView.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- WizardStepBase.cs
- PropagationProtocolsTracing.cs
- InfoCardTraceRecord.cs
- ParameterBuilder.cs
- SafeNativeMethods.cs
- SubclassTypeValidator.cs
- GrabHandleGlyph.cs
- CompilationUtil.cs
- PresentationTraceSources.cs
- GeneralTransform2DTo3DTo2D.cs
- Calendar.cs
- SqlTypeConverter.cs
- Block.cs
- ValidationSummaryDesigner.cs
- ObjectStateEntryDbDataRecord.cs
- PtsPage.cs
- TextSimpleMarkerProperties.cs
- QuestionEventArgs.cs
- VisualStyleElement.cs
- XDRSchema.cs
- _NTAuthentication.cs
- FlowPanelDesigner.cs
- ISAPIRuntime.cs
- StylusPoint.cs
- DataSourceControlBuilder.cs
- TextServicesLoader.cs
- TrustLevelCollection.cs
- WebPartZoneCollection.cs
- ParallelSeparator.xaml.cs
- EntityClientCacheEntry.cs
- DocumentPageViewAutomationPeer.cs
- XmlValidatingReader.cs
- ScopelessEnumAttribute.cs
- BaseEntityWrapper.cs
- WebPartConnectionsCancelVerb.cs
- RawStylusInput.cs
- QfeChecker.cs
- PrintSystemException.cs
- UnsafeNativeMethodsPenimc.cs
- RtfToXamlReader.cs
- MulticastNotSupportedException.cs
- RelativeSource.cs
- ViewDesigner.cs
- PenLineCapValidation.cs
- PeerResolverSettings.cs
- RegisteredDisposeScript.cs
- DataGridCommandEventArgs.cs
- _PooledStream.cs
- StickyNote.cs
- ButtonField.cs
- InkCanvasSelection.cs
- ExtendedProtectionPolicy.cs
- SqlLiftWhereClauses.cs
- SymmetricKeyWrap.cs
- BinaryCommonClasses.cs
- DocumentViewer.cs
- PlainXmlWriter.cs
- WebControl.cs
- xamlnodes.cs
- ConfigurationHelpers.cs
- IgnoreSectionHandler.cs