Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleType.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolBar.cs
- StylusPointPropertyInfoDefaults.cs
- Internal.cs
- CountAggregationOperator.cs
- SourceFileBuildProvider.cs
- CodeSnippetCompileUnit.cs
- CultureInfoConverter.cs
- SelectionWordBreaker.cs
- MobileListItem.cs
- Range.cs
- RolePrincipal.cs
- BooleanExpr.cs
- CaseStatement.cs
- ToolBarOverflowPanel.cs
- FixedPage.cs
- RC2CryptoServiceProvider.cs
- WindowsPrincipal.cs
- SqlClientPermission.cs
- DataSourceView.cs
- ClipboardData.cs
- MenuItemCollection.cs
- AppliedDeviceFiltersEditor.cs
- FormsAuthenticationTicket.cs
- entityreference_tresulttype.cs
- RegexMatchCollection.cs
- CompilerLocalReference.cs
- AllMembershipCondition.cs
- TcpSocketManager.cs
- XsdValidatingReader.cs
- PropertyKey.cs
- TimeoutException.cs
- WindowsContainer.cs
- Transform3D.cs
- XmlByteStreamWriter.cs
- SqlProvider.cs
- ProfileSettings.cs
- Splitter.cs
- ArglessEventHandlerProxy.cs
- TypeSystem.cs
- TextLineResult.cs
- CodeConstructor.cs
- TreeNodeConverter.cs
- DesignColumnCollection.cs
- FontWeight.cs
- ForEach.cs
- HelpKeywordAttribute.cs
- DataGridViewIntLinkedList.cs
- BinaryCommonClasses.cs
- LabelDesigner.cs
- SocketException.cs
- DownloadProgressEventArgs.cs
- DeviceContext.cs
- DynamicResourceExtensionConverter.cs
- ColorAnimationUsingKeyFrames.cs
- DrawingAttributesDefaultValueFactory.cs
- ApplicationActivator.cs
- EditorPart.cs
- WindowsRebar.cs
- OpenFileDialog.cs
- DataKeyCollection.cs
- FileReservationCollection.cs
- SeverityFilter.cs
- ConnectionProviderAttribute.cs
- VectorConverter.cs
- ScriptingWebServicesSectionGroup.cs
- TextEndOfSegment.cs
- StagingAreaInputItem.cs
- TextSelectionProcessor.cs
- WindowsToolbarAsMenu.cs
- JumpTask.cs
- _SafeNetHandles.cs
- Variant.cs
- HtmlInputFile.cs
- RegionIterator.cs
- SmiGettersStream.cs
- UniqueIdentifierService.cs
- IdentifierService.cs
- WindowsListViewItem.cs
- TextureBrush.cs
- ResourceDefaultValueAttribute.cs
- CodeAttributeArgumentCollection.cs
- DataGridViewEditingControlShowingEventArgs.cs
- ZipIOCentralDirectoryFileHeader.cs
- XPathPatternParser.cs
- UpWmlMobileTextWriter.cs
- MinMaxParagraphWidth.cs
- KnownAssemblyEntry.cs
- Font.cs
- XmlUtf8RawTextWriter.cs
- ToolStripGripRenderEventArgs.cs
- RequestTimeoutManager.cs
- RemoteDebugger.cs
- CryptoProvider.cs
- TraceXPathNavigator.cs
- WmpBitmapEncoder.cs
- WaitHandleCannotBeOpenedException.cs
- HelpProvider.cs
- DesigntimeLicenseContext.cs
- ConfigurationPropertyAttribute.cs
- TextElementAutomationPeer.cs