Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // //[....] //----------------------------------------------------------------------------- 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
- DecimalSumAggregationOperator.cs
- FormsAuthenticationEventArgs.cs
- SslStream.cs
- XmlSchemaNotation.cs
- WizardPanel.cs
- Int32Collection.cs
- EntityClientCacheKey.cs
- NavigationPropertyEmitter.cs
- Container.cs
- DefaultBindingPropertyAttribute.cs
- RemotingConfigParser.cs
- TypeSystem.cs
- PageThemeBuildProvider.cs
- ServiceNameCollection.cs
- XmlSchemaAppInfo.cs
- VirtualPathProvider.cs
- NCryptSafeHandles.cs
- DbParameterCollectionHelper.cs
- DrawTreeNodeEventArgs.cs
- AppDomainProtocolHandler.cs
- WasEndpointConfigContainer.cs
- RegistryPermission.cs
- XamlPointCollectionSerializer.cs
- PageSettings.cs
- ListViewItemSelectionChangedEvent.cs
- DescendantQuery.cs
- DESCryptoServiceProvider.cs
- LookupBindingPropertiesAttribute.cs
- HwndKeyboardInputProvider.cs
- HttpListenerContext.cs
- AuthenticatedStream.cs
- PropertyTabChangedEvent.cs
- DataServices.cs
- SoapSchemaMember.cs
- XmlSchemaExternal.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- Timer.cs
- LogWriteRestartAreaAsyncResult.cs
- ErrorFormatter.cs
- TCPListener.cs
- behaviorssection.cs
- ColumnMapVisitor.cs
- NCryptNative.cs
- XmlCustomFormatter.cs
- SqlDataSourceSummaryPanel.cs
- DataGridPagingPage.cs
- WebPartActionVerb.cs
- Configuration.cs
- CacheHelper.cs
- TraceContextRecord.cs
- XmlSubtreeReader.cs
- LineBreak.cs
- InvokeProviderWrapper.cs
- TypeConverterHelper.cs
- ResXFileRef.cs
- Configuration.cs
- AssertSection.cs
- TemplateComponentConnector.cs
- InfoCardConstants.cs
- WeakReferenceEnumerator.cs
- GlyphCache.cs
- CompositeDataBoundControl.cs
- HandleCollector.cs
- TemplateControlParser.cs
- BrowserDefinition.cs
- OleServicesContext.cs
- safex509handles.cs
- NTAccount.cs
- Hyperlink.cs
- ConstructorBuilder.cs
- NamespaceList.cs
- CodeIterationStatement.cs
- DataGridViewUtilities.cs
- InheritanceAttribute.cs
- SecureStringHasher.cs
- DependencyPropertyKey.cs
- SafeEventHandle.cs
- NTAccount.cs
- WhitespaceRule.cs
- WsdlServiceChannelBuilder.cs
- HashMembershipCondition.cs
- TextPattern.cs
- IconConverter.cs
- SortQuery.cs
- PermissionAttributes.cs
- UpWmlMobileTextWriter.cs
- SymLanguageType.cs
- SoapProtocolImporter.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- TerminateWorkflow.cs
- SqlClientPermission.cs
- MatrixAnimationBase.cs
- TraceUtility.cs
- TypeSchema.cs
- TextAnchor.cs
- MultipartContentParser.cs
- ConvertEvent.cs
- ClientSideQueueItem.cs
- TreeNode.cs
- EncoderNLS.cs