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
- KeysConverter.cs
- GPRECTF.cs
- UpdateTranslator.cs
- RoleManagerEventArgs.cs
- UrlAuthorizationModule.cs
- GridViewCellAutomationPeer.cs
- Matrix.cs
- RichTextBoxConstants.cs
- AppDomainManager.cs
- SerializerProvider.cs
- TraceProvider.cs
- LayoutTableCell.cs
- MultitargetingHelpers.cs
- Drawing.cs
- BitmapPalette.cs
- ViewKeyConstraint.cs
- QilList.cs
- CalendarButton.cs
- PrintDialog.cs
- InnerItemCollectionView.cs
- HtmlElementCollection.cs
- ObjectSet.cs
- elementinformation.cs
- Zone.cs
- SymbolTable.cs
- WebConvert.cs
- ProcessRequestArgs.cs
- Storyboard.cs
- XsltConvert.cs
- BoolExpressionVisitors.cs
- RSACryptoServiceProvider.cs
- OutputCacheProfileCollection.cs
- Command.cs
- ComplexPropertyEntry.cs
- HttpRequest.cs
- IODescriptionAttribute.cs
- SchemaNames.cs
- ZoomPercentageConverter.cs
- DivideByZeroException.cs
- BindableAttribute.cs
- FlatButtonAppearance.cs
- RepeatButtonAutomationPeer.cs
- XmlIgnoreAttribute.cs
- HwndPanningFeedback.cs
- IntPtr.cs
- SimpleParser.cs
- HostedTcpTransportManager.cs
- ButtonBaseAutomationPeer.cs
- ellipse.cs
- TextDataBindingHandler.cs
- LocationSectionRecord.cs
- PenCursorManager.cs
- LogEntrySerializationException.cs
- MarginsConverter.cs
- ConnectionPoolManager.cs
- CapabilitiesPattern.cs
- DetailsViewUpdateEventArgs.cs
- FileChangesMonitor.cs
- CurrencyWrapper.cs
- XmlQueryOutput.cs
- ExpressionPrefixAttribute.cs
- HuffmanTree.cs
- OdbcError.cs
- ToolStripPanelDesigner.cs
- DisplayNameAttribute.cs
- FigureParaClient.cs
- BmpBitmapEncoder.cs
- MethodMessage.cs
- PtsCache.cs
- ConstructorNeedsTagAttribute.cs
- EmptyEnumerator.cs
- DataGridTableCollection.cs
- DataFormats.cs
- MergeFilterQuery.cs
- UTF7Encoding.cs
- StreamGeometry.cs
- Point4D.cs
- DrawingDrawingContext.cs
- FeatureSupport.cs
- ApplicationSettingsBase.cs
- ValueExpressions.cs
- CodeBlockBuilder.cs
- UnsafePeerToPeerMethods.cs
- BitmapMetadata.cs
- XAMLParseException.cs
- SubpageParagraph.cs
- ArrayEditor.cs
- WsatTransactionInfo.cs
- InfoCardCryptoHelper.cs
- JpegBitmapDecoder.cs
- RIPEMD160.cs
- BreakRecordTable.cs
- NamespaceInfo.cs
- Compress.cs
- BindingRestrictions.cs
- WindowsSecurityToken.cs
- DesignerDataView.cs
- MSAAEventDispatcher.cs
- ColumnMapCopier.cs
- SchemaElementLookUpTable.cs