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
- ReflectEventDescriptor.cs
- ListView.cs
- ProcessModelSection.cs
- MailMessageEventArgs.cs
- EventNotify.cs
- FixedDocumentPaginator.cs
- GeneralTransform.cs
- WmlValidationSummaryAdapter.cs
- BrowserTree.cs
- FormsAuthenticationCredentials.cs
- MsmqTransportReceiveParameters.cs
- CompilerScopeManager.cs
- StaticExtension.cs
- TextBoxRenderer.cs
- ContractNamespaceAttribute.cs
- DllNotFoundException.cs
- DataTable.cs
- prompt.cs
- WmlValidationSummaryAdapter.cs
- ArrayWithOffset.cs
- DataGridViewImageColumn.cs
- NativeMethods.cs
- DbMetaDataCollectionNames.cs
- ExtensionDataObject.cs
- DefaultTextStore.cs
- ViewEventArgs.cs
- ISAPIRuntime.cs
- FlowLayoutPanel.cs
- MemberDescriptor.cs
- XmlReaderDelegator.cs
- DataGridCell.cs
- LinqDataSourceStatusEventArgs.cs
- ModelItemImpl.cs
- Guid.cs
- TypeDescriptorContext.cs
- FontSizeConverter.cs
- BitmapCache.cs
- SatelliteContractVersionAttribute.cs
- BrushValueSerializer.cs
- OleDbParameterCollection.cs
- _CommandStream.cs
- PrincipalPermission.cs
- DataServiceRequestOfT.cs
- RuleSettings.cs
- XmlIncludeAttribute.cs
- SoapEnumAttribute.cs
- CuspData.cs
- DataQuery.cs
- UIElement3DAutomationPeer.cs
- XmlToDatasetMap.cs
- ICspAsymmetricAlgorithm.cs
- SwitchLevelAttribute.cs
- CheckBoxRenderer.cs
- XmlRawWriter.cs
- Membership.cs
- HelpKeywordAttribute.cs
- KeyEvent.cs
- ExcCanonicalXml.cs
- RewritingValidator.cs
- LingerOption.cs
- ExpressionValueEditor.cs
- WorkflowDesignerMessageFilter.cs
- AutoGeneratedField.cs
- XPathSingletonIterator.cs
- SoapMessage.cs
- TypeToken.cs
- EpmHelper.cs
- SafeNativeMemoryHandle.cs
- PieceNameHelper.cs
- ClipboardProcessor.cs
- ReferentialConstraint.cs
- TrustLevelCollection.cs
- EntityExpressionVisitor.cs
- assertwrapper.cs
- ClientSponsor.cs
- BindingList.cs
- ImageListDesigner.cs
- FactoryRecord.cs
- WorkflowEventArgs.cs
- Utils.cs
- VScrollBar.cs
- ProxySimple.cs
- XmlDictionaryReader.cs
- NativeDirectoryServicesQueryAPIs.cs
- Operand.cs
- BasicHttpSecurityElement.cs
- FamilyTypefaceCollection.cs
- FlowLayoutPanel.cs
- SocketManager.cs
- DataColumnMapping.cs
- SecurityState.cs
- ToolboxService.cs
- Int64.cs
- Site.cs
- PrintDialog.cs
- XmlStreamStore.cs
- SqlMethodCallConverter.cs
- _SSPIWrapper.cs
- Group.cs
- WebServiceAttribute.cs