Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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
- DataGridViewDataErrorEventArgs.cs
- XmlDocumentSerializer.cs
- RegexCharClass.cs
- SwitchAttribute.cs
- FormatterServices.cs
- SystemInfo.cs
- RawUIStateInputReport.cs
- UrlMapping.cs
- ModelFunction.cs
- BaseResourcesBuildProvider.cs
- FileLogRecord.cs
- MaskPropertyEditor.cs
- EffectiveValueEntry.cs
- Tuple.cs
- RolePrincipal.cs
- TerminateSequenceResponse.cs
- _IPv6Address.cs
- ReferentialConstraint.cs
- FixedSOMPageConstructor.cs
- KeyConverter.cs
- Help.cs
- GacUtil.cs
- ConnectionManagementSection.cs
- FrameworkContentElementAutomationPeer.cs
- dataSvcMapFileLoader.cs
- ButtonColumn.cs
- AssociationSet.cs
- CodePageEncoding.cs
- filewebrequest.cs
- IDQuery.cs
- HtmlTitle.cs
- InputProviderSite.cs
- ISAPIWorkerRequest.cs
- XmlNamespaceManager.cs
- XmlResolver.cs
- FunctionCommandText.cs
- Formatter.cs
- TreeNodeCollectionEditor.cs
- Graph.cs
- StopStoryboard.cs
- SessionEndedEventArgs.cs
- LayoutTableCell.cs
- EventWaitHandleSecurity.cs
- InstallerTypeAttribute.cs
- TaskHelper.cs
- SchemaCollectionCompiler.cs
- DictionaryBase.cs
- BufferModesCollection.cs
- TypeUtil.cs
- DataReaderContainer.cs
- EventManager.cs
- BookmarkOptionsHelper.cs
- ToolStripItemRenderEventArgs.cs
- XamlReaderConstants.cs
- XmlRawWriter.cs
- ResponseStream.cs
- ColumnReorderedEventArgs.cs
- QilTernary.cs
- StreamingContext.cs
- TimerElapsedEvenArgs.cs
- PtsPage.cs
- StaticSiteMapProvider.cs
- XmlIlTypeHelper.cs
- Action.cs
- ScrollItemPatternIdentifiers.cs
- CollectionBase.cs
- AutomationEvent.cs
- WindowsSidIdentity.cs
- SqlIdentifier.cs
- IndexedGlyphRun.cs
- SQLCharsStorage.cs
- LineGeometry.cs
- Encoding.cs
- DocComment.cs
- DoWorkEventArgs.cs
- ReflectionPermission.cs
- ComNativeDescriptor.cs
- SafeBitVector32.cs
- WebPartEditorOkVerb.cs
- ITreeGenerator.cs
- IsolatedStorageSecurityState.cs
- loginstatus.cs
- MembershipValidatePasswordEventArgs.cs
- UserUseLicenseDictionaryLoader.cs
- ProxyWebPartManagerDesigner.cs
- SkewTransform.cs
- MessageBox.cs
- ConfigurationPropertyCollection.cs
- TypedTableBaseExtensions.cs
- MergeExecutor.cs
- ModelItemImpl.cs
- FontUnitConverter.cs
- SecurityVersion.cs
- MenuCommands.cs
- HttpClientCertificate.cs
- TreeViewImageIndexConverter.cs
- SqlDataSource.cs
- SqlDataAdapter.cs
- Italic.cs
- SqlInternalConnectionTds.cs