Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleType.cs / 1 / XmlSchemaSimpleType.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; using System.Diagnostics; ////// /// public class XmlSchemaSimpleType : XmlSchemaType { XmlSchemaSimpleTypeContent content; ///[To be supplied.] ////// /// public XmlSchemaSimpleType() { Debug.Assert(SchemaContentType == XmlSchemaContentType.TextOnly); } ///[To be supplied.] ///[XmlElement("restriction", typeof(XmlSchemaSimpleTypeRestriction)), XmlElement("list", typeof(XmlSchemaSimpleTypeList)), XmlElement("union", typeof(XmlSchemaSimpleTypeUnion))] public XmlSchemaSimpleTypeContent Content { get { return content; } set { content = value; } } internal override XmlQualifiedName DerivedFrom { get { if (content == null) { // type derived from anyType return XmlQualifiedName.Empty; } if (content is XmlSchemaSimpleTypeRestriction) { return ((XmlSchemaSimpleTypeRestriction)content).BaseTypeName; } return XmlQualifiedName.Empty; } } internal override XmlSchemaObject Clone() { XmlSchemaSimpleType newSimpleType = (XmlSchemaSimpleType)MemberwiseClone(); if (content != null) { newSimpleType.Content = (XmlSchemaSimpleTypeContent)content.Clone(); } return newSimpleType; } } } // 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
- SplineKeyFrames.cs
- ComplexTypeEmitter.cs
- DataGridViewLayoutData.cs
- EncodingDataItem.cs
- NumericPagerField.cs
- WindowsGraphicsWrapper.cs
- WebControlsSection.cs
- XhtmlBasicPanelAdapter.cs
- SchemaName.cs
- XmlException.cs
- EventLog.cs
- StringWriter.cs
- ItemCheckedEvent.cs
- InputLangChangeRequestEvent.cs
- StateBag.cs
- Avt.cs
- EventlogProvider.cs
- SqlFormatter.cs
- HtmlPageAdapter.cs
- ToolStripContentPanel.cs
- CodeAssignStatement.cs
- ImagingCache.cs
- GatewayIPAddressInformationCollection.cs
- WebPartPersonalization.cs
- RelationshipType.cs
- metrodevice.cs
- Internal.cs
- PriorityChain.cs
- ChtmlTextWriter.cs
- MgmtConfigurationRecord.cs
- XamlWriter.cs
- ConnectionConsumerAttribute.cs
- HuffModule.cs
- XmlILOptimizerVisitor.cs
- ListViewItemMouseHoverEvent.cs
- FlowDocumentPaginator.cs
- RadioButton.cs
- DBCommand.cs
- MailAddress.cs
- WindowsStatic.cs
- DataControlImageButton.cs
- XmlSchemaComplexContentExtension.cs
- ControlCollection.cs
- SchemaReference.cs
- SubMenuStyle.cs
- Menu.cs
- RoleGroupCollection.cs
- SafeUserTokenHandle.cs
- PageCodeDomTreeGenerator.cs
- PolygonHotSpot.cs
- AccessDataSource.cs
- TemplateControl.cs
- MatrixTransform.cs
- Material.cs
- SessionPageStateSection.cs
- TranslateTransform3D.cs
- EndEvent.cs
- DisplayMemberTemplateSelector.cs
- storepermissionattribute.cs
- GlobalizationSection.cs
- ObjectPropertyMapping.cs
- TemplatePropertyEntry.cs
- PersonalizationEntry.cs
- HttpModuleAction.cs
- Storyboard.cs
- DynamicQueryableWrapper.cs
- _DisconnectOverlappedAsyncResult.cs
- RuntimeWrappedException.cs
- FactoryGenerator.cs
- ListViewGroupCollectionEditor.cs
- Lasso.cs
- GenericFlowSwitchHelper.cs
- SoapProtocolImporter.cs
- TreeNodeCollectionEditor.cs
- AssemblyAttributes.cs
- ImageFormat.cs
- PrintPreviewControl.cs
- GeneralTransform3D.cs
- WindowsScrollBar.cs
- PathFigureCollection.cs
- RowToParametersTransformer.cs
- StrokeFIndices.cs
- IBuiltInEvidence.cs
- FormViewDeleteEventArgs.cs
- SupportsEventValidationAttribute.cs
- Substitution.cs
- GlyphingCache.cs
- CharacterBuffer.cs
- Track.cs
- GACMembershipCondition.cs
- ServiceHttpHandlerFactory.cs
- D3DImage.cs
- TextViewSelectionProcessor.cs
- RemotingConfigParser.cs
- XmlTextEncoder.cs
- Mapping.cs
- AxHost.cs
- FlowDocumentPaginator.cs
- PriorityBinding.cs
- XmlCDATASection.cs