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
- EmbossBitmapEffect.cs
- ExecutionContext.cs
- CategoryAttribute.cs
- Package.cs
- FontWeightConverter.cs
- SmtpReplyReader.cs
- Math.cs
- StandardMenuStripVerb.cs
- BrowserCapabilitiesCompiler.cs
- safex509handles.cs
- StringExpressionSet.cs
- CompilerErrorCollection.cs
- EventLogPermission.cs
- SspiNegotiationTokenAuthenticator.cs
- TemplatedWizardStep.cs
- SqlUtils.cs
- SignerInfo.cs
- String.cs
- entitydatasourceentitysetnameconverter.cs
- UrlMapping.cs
- XsdDateTime.cs
- FullTrustAssemblyCollection.cs
- ControlOperationInvoker.cs
- OdbcCommand.cs
- AuthenticationManager.cs
- ResourcePermissionBaseEntry.cs
- Material.cs
- AuthenticateEventArgs.cs
- ListManagerBindingsCollection.cs
- SqlInternalConnectionTds.cs
- ClientSession.cs
- ToolBarPanel.cs
- TeredoHelper.cs
- CompoundFileReference.cs
- QilUnary.cs
- HttpListenerContext.cs
- StringStorage.cs
- LostFocusEventManager.cs
- URL.cs
- LambdaCompiler.Expressions.cs
- StrokeNodeOperations2.cs
- DataGridPagerStyle.cs
- NameValueConfigurationElement.cs
- SettingsProperty.cs
- NavigatorOutput.cs
- ConnectionPointCookie.cs
- CurrentChangingEventManager.cs
- ProviderCollection.cs
- Baml6ConstructorInfo.cs
- StylusShape.cs
- StringValidatorAttribute.cs
- KoreanCalendar.cs
- NumberFunctions.cs
- RegexWorker.cs
- XmlSchemaChoice.cs
- RuntimeWrappedException.cs
- SqlFlattener.cs
- SessionState.cs
- CodeCompiler.cs
- DataObjectMethodAttribute.cs
- TextDocumentView.cs
- DataSetViewSchema.cs
- ToolBarTray.cs
- SqlCacheDependencySection.cs
- DataGridViewComboBoxEditingControl.cs
- ItemCollection.cs
- SortDescription.cs
- KnownColorTable.cs
- ListViewGroupCollectionEditor.cs
- Metafile.cs
- OLEDB_Util.cs
- LookupBindingPropertiesAttribute.cs
- SrgsGrammar.cs
- ImpersonationOption.cs
- SoapTypeAttribute.cs
- FontEmbeddingManager.cs
- XmlArrayAttribute.cs
- Camera.cs
- FontStyleConverter.cs
- BindingExpressionBase.cs
- ViewManager.cs
- SamlAuthorizationDecisionClaimResource.cs
- DbConnectionPool.cs
- BitSet.cs
- ReadOnlyMetadataCollection.cs
- XDRSchema.cs
- ByteFacetDescriptionElement.cs
- BaseServiceProvider.cs
- XmlBindingWorker.cs
- IdentityHolder.cs
- CodeObjectCreateExpression.cs
- MarkupCompilePass1.cs
- InertiaTranslationBehavior.cs
- UrlPropertyAttribute.cs
- DbMetaDataCollectionNames.cs
- CommonXSendMessage.cs
- PipeSecurity.cs
- EventLogPermissionEntry.cs
- TraceEventCache.cs
- WindowsRichEditRange.cs