Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeUnion.cs / 1 / XmlSchemaSimpleTypeUnion.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleTypeUnion : XmlSchemaSimpleTypeContent { XmlSchemaObjectCollection baseTypes = new XmlSchemaObjectCollection(); XmlQualifiedName[] memberTypes; XmlSchemaSimpleType[] baseMemberTypes; // Compiled ///[To be supplied.] ////// /// [XmlElement("simpleType", typeof(XmlSchemaSimpleType))] public XmlSchemaObjectCollection BaseTypes { get { return baseTypes; } } ///[To be supplied.] ///[XmlAttribute("memberTypes")] public XmlQualifiedName[] MemberTypes { get { return memberTypes; } set { memberTypes = value; } } //Compiled Information /// [XmlIgnore] public XmlSchemaSimpleType[] BaseMemberTypes { get { return baseMemberTypes; } } internal void SetBaseMemberTypes(XmlSchemaSimpleType[] baseMemberTypes) { this.baseMemberTypes = baseMemberTypes; } internal override XmlSchemaObject Clone() { if (memberTypes != null && memberTypes.Length > 0) { //Only if the union has MemberTypes defined XmlSchemaSimpleTypeUnion newUnion = (XmlSchemaSimpleTypeUnion)MemberwiseClone(); XmlQualifiedName[] newQNames = new XmlQualifiedName[memberTypes.Length]; for (int i = 0; i < memberTypes.Length; i++) { newQNames[i] = memberTypes[i].Clone(); } newUnion.MemberTypes = newQNames; return newUnion; } return this; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NamedPermissionSet.cs
- FlowDecisionDesigner.xaml.cs
- DecoderExceptionFallback.cs
- DataDocumentXPathNavigator.cs
- AlignmentXValidation.cs
- C14NUtil.cs
- AdjustableArrowCap.cs
- MachineKeyConverter.cs
- TableRowCollection.cs
- TypeResolvingOptionsAttribute.cs
- MonthChangedEventArgs.cs
- StackOverflowException.cs
- RegionInfo.cs
- XmlDigitalSignatureProcessor.cs
- FileLogRecordStream.cs
- ApplicationGesture.cs
- OperationContractAttribute.cs
- EnumerationRangeValidationUtil.cs
- GeometryModel3D.cs
- Converter.cs
- SqlUserDefinedAggregateAttribute.cs
- CqlParserHelpers.cs
- Size3D.cs
- OleDbCommandBuilder.cs
- PlainXmlDeserializer.cs
- ToolStripPanelSelectionBehavior.cs
- Button.cs
- Grant.cs
- XomlDesignerLoader.cs
- EditBehavior.cs
- Math.cs
- IdentifierService.cs
- RuntimeConfigLKG.cs
- DrawingAttributeSerializer.cs
- UxThemeWrapper.cs
- StylusDownEventArgs.cs
- CleanUpVirtualizedItemEventArgs.cs
- XmlHierarchyData.cs
- BindingMAnagerBase.cs
- UIPermission.cs
- SharedPerformanceCounter.cs
- ControlAdapter.cs
- input.cs
- FolderBrowserDialog.cs
- LogSwitch.cs
- TransactionProxy.cs
- SafeNativeMethodsMilCoreApi.cs
- DbConnectionPool.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- RootBrowserWindowProxy.cs
- BitmapData.cs
- ObjectSpanRewriter.cs
- Brush.cs
- BamlStream.cs
- RangeValidator.cs
- Version.cs
- ApplyTemplatesAction.cs
- Selection.cs
- DesignerTransaction.cs
- EventMemberCodeDomSerializer.cs
- Enum.cs
- ColorConverter.cs
- ObjectAssociationEndMapping.cs
- TextChangedEventArgs.cs
- PointCollectionValueSerializer.cs
- MatchAttribute.cs
- SQLDateTimeStorage.cs
- PTConverter.cs
- WebBrowserNavigatingEventHandler.cs
- ApplicationServicesHostFactory.cs
- Point3DKeyFrameCollection.cs
- isolationinterop.cs
- DetailsViewInsertEventArgs.cs
- DataGridViewSelectedCellCollection.cs
- Int16Storage.cs
- InkPresenterAutomationPeer.cs
- AttributeProviderAttribute.cs
- Helpers.cs
- ipaddressinformationcollection.cs
- unitconverter.cs
- InvalidComObjectException.cs
- Parsers.cs
- ContainerFilterService.cs
- XmlNavigatorStack.cs
- TrackPoint.cs
- StaticResourceExtension.cs
- CustomAttributeBuilder.cs
- WebPartConnectVerb.cs
- SurrogateDataContract.cs
- ToolStripPanelCell.cs
- StylusShape.cs
- HyperLinkDataBindingHandler.cs
- HostProtectionPermission.cs
- ISAPIRuntime.cs
- ListParaClient.cs
- XmlNullResolver.cs
- RootCodeDomSerializer.cs
- MappingModelBuildProvider.cs
- SqlConnectionPoolGroupProviderInfo.cs
- NoneExcludedImageIndexConverter.cs