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
- SectionVisual.cs
- WebRequest.cs
- ToolStripLocationCancelEventArgs.cs
- TraceSection.cs
- DesignConnection.cs
- RenderTargetBitmap.cs
- SoapSchemaMember.cs
- Single.cs
- StringOutput.cs
- ExtensibleClassFactory.cs
- Border.cs
- Base64WriteStateInfo.cs
- ListenerHandler.cs
- PagesChangedEventArgs.cs
- TextDataBindingHandler.cs
- WebServiceReceiveDesigner.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- HtmlShim.cs
- UserMapPath.cs
- GridViewRowPresenterBase.cs
- HighlightVisual.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- DesignerAutoFormatCollection.cs
- ExecutionEngineException.cs
- ScriptReferenceEventArgs.cs
- TabItemWrapperAutomationPeer.cs
- StreamMarshaler.cs
- MessageCredentialType.cs
- DataMemberListEditor.cs
- TypeHelpers.cs
- CuspData.cs
- WebPartConnection.cs
- MenuAdapter.cs
- DateTimeFormatInfoScanner.cs
- FacetDescriptionElement.cs
- XmlUrlResolver.cs
- MessageContractMemberAttribute.cs
- WebPartConnectionsEventArgs.cs
- TextAdaptor.cs
- DeploymentSection.cs
- GroupBoxAutomationPeer.cs
- ValueChangedEventManager.cs
- HelpEvent.cs
- ToolBarOverflowPanel.cs
- LayoutEvent.cs
- ConnectionsZone.cs
- AppDomain.cs
- DiagnosticTraceSource.cs
- RSAOAEPKeyExchangeFormatter.cs
- VersionedStreamOwner.cs
- RefreshPropertiesAttribute.cs
- JsonServiceDocumentSerializer.cs
- Renderer.cs
- XmlTextReader.cs
- PrivilegedConfigurationManager.cs
- XmlNamespaceDeclarationsAttribute.cs
- BindingCompleteEventArgs.cs
- FixUpCollection.cs
- Transform3DCollection.cs
- DataTableNameHandler.cs
- SecureStringHasher.cs
- SmiEventStream.cs
- XmlNode.cs
- DataContractSerializer.cs
- EncryptedKeyIdentifierClause.cs
- TextBoxBase.cs
- HttpPostLocalhostServerProtocol.cs
- DefaultValueTypeConverter.cs
- TransformProviderWrapper.cs
- XmlEnumAttribute.cs
- TypeLoader.cs
- SelectionItemPattern.cs
- ListCommandEventArgs.cs
- ColorBlend.cs
- compensatingcollection.cs
- LinqDataSourceContextEventArgs.cs
- IntSecurity.cs
- StyleBamlTreeBuilder.cs
- UriScheme.cs
- IResourceProvider.cs
- Types.cs
- BasicKeyConstraint.cs
- SQLMoneyStorage.cs
- FormatSettings.cs
- SlotInfo.cs
- WhitespaceRule.cs
- UInt16Storage.cs
- TraceSection.cs
- DynamicRenderer.cs
- MessageParameterAttribute.cs
- ComboBox.cs
- WebServiceData.cs
- StateItem.cs
- DefinitionUpdate.cs
- AsymmetricKeyExchangeFormatter.cs
- WorkflowFormatterBehavior.cs
- SchemaLookupTable.cs
- ECDiffieHellmanPublicKey.cs
- StaticFileHandler.cs
- FormViewModeEventArgs.cs