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
- DataGridColumnHeader.cs
- ControlParameter.cs
- Relationship.cs
- BamlRecordWriter.cs
- DataServiceHostFactory.cs
- _ProxyChain.cs
- GridViewUpdateEventArgs.cs
- FileDialog_Vista_Interop.cs
- Enum.cs
- NumericUpDownAccelerationCollection.cs
- ReaderOutput.cs
- SoapObjectWriter.cs
- ManagementObjectCollection.cs
- OracleCommandSet.cs
- BufferedWebEventProvider.cs
- CommandPlan.cs
- FacetEnabledSchemaElement.cs
- CacheModeValueSerializer.cs
- login.cs
- StringConverter.cs
- DetailsViewDesigner.cs
- TraceEventCache.cs
- QueryCacheEntry.cs
- ObjectListItem.cs
- SmiContextFactory.cs
- JoinGraph.cs
- SafeBitVector32.cs
- ListView.cs
- OperationDescriptionCollection.cs
- Tablet.cs
- AttachedPropertyMethodSelector.cs
- AsymmetricAlgorithm.cs
- DataTableCollection.cs
- CLRBindingWorker.cs
- OneOfElement.cs
- ObjectHelper.cs
- AttachmentCollection.cs
- SystemSounds.cs
- SqlGenerator.cs
- FlowLayoutPanelDesigner.cs
- DataGridViewImageCell.cs
- LineServicesRun.cs
- FixedSchema.cs
- XPathScanner.cs
- DiscoveryOperationContextExtension.cs
- AssemblyAttributes.cs
- Identifier.cs
- HijriCalendar.cs
- RSAOAEPKeyExchangeDeformatter.cs
- XPathScanner.cs
- FixedPageAutomationPeer.cs
- SecurityException.cs
- ParameterInfo.cs
- WebPartsPersonalization.cs
- TypefaceCollection.cs
- PerformanceCounterCategory.cs
- SerTrace.cs
- ProcessRequestAsyncResult.cs
- _NegoState.cs
- SamlSerializer.cs
- PagerSettings.cs
- ParseNumbers.cs
- ComponentChangingEvent.cs
- EntityTypeEmitter.cs
- CompiledIdentityConstraint.cs
- DocumentSequence.cs
- MarkupCompiler.cs
- ToolstripProfessionalRenderer.cs
- SessionPageStatePersister.cs
- LicenseContext.cs
- IPGlobalProperties.cs
- ColumnMapTranslator.cs
- ServiceNameCollection.cs
- Configuration.cs
- KeyValueConfigurationCollection.cs
- NamespaceEmitter.cs
- XmlDocument.cs
- ContentPropertyAttribute.cs
- CallSiteBinder.cs
- NetTcpSecurity.cs
- LogAppendAsyncResult.cs
- GridViewDeleteEventArgs.cs
- GeometryValueSerializer.cs
- CallbackValidatorAttribute.cs
- AuthenticationConfig.cs
- ObjectContext.cs
- DelegatingStream.cs
- LicFileLicenseProvider.cs
- ServiceInfo.cs
- ImageBrush.cs
- LazyTextWriterCreator.cs
- SpellerInterop.cs
- SelfIssuedAuthRSACryptoProvider.cs
- ObjectPropertyMapping.cs
- EventLogEntryCollection.cs
- DataServiceConfiguration.cs
- NavigationEventArgs.cs
- CodeIterationStatement.cs
- TextServicesManager.cs
- Light.cs