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
- CellCreator.cs
- ExceptionList.cs
- CodeMemberEvent.cs
- DialogBaseForm.cs
- QueryResponse.cs
- ButtonFieldBase.cs
- QilUnary.cs
- HealthMonitoringSection.cs
- SpecialFolderEnumConverter.cs
- UInt32Converter.cs
- Decoder.cs
- ReadOnlyAttribute.cs
- FamilyCollection.cs
- grammarelement.cs
- StatusBarAutomationPeer.cs
- TagMapInfo.cs
- SqlParameter.cs
- MonthCalendar.cs
- XmlTypeAttribute.cs
- WebConfigurationHost.cs
- PeerUnsafeNativeMethods.cs
- ContextMarshalException.cs
- LoginName.cs
- PolyLineSegmentFigureLogic.cs
- CacheMemory.cs
- PageContentCollection.cs
- Matrix3D.cs
- UTF7Encoding.cs
- AlgoModule.cs
- ContentControl.cs
- SimpleFieldTemplateFactory.cs
- SingleStorage.cs
- UInt32.cs
- ValidatorUtils.cs
- ExclusiveTcpListener.cs
- WebPartConnection.cs
- CircleHotSpot.cs
- WS2007HttpBindingCollectionElement.cs
- XPathNode.cs
- OptimalTextSource.cs
- CodeCommentStatementCollection.cs
- LicenseProviderAttribute.cs
- WebServiceData.cs
- ButtonBaseAdapter.cs
- XmlHierarchicalDataSourceView.cs
- RuntimeWrappedException.cs
- X509CertificateTrustedIssuerElementCollection.cs
- Stacktrace.cs
- ExpandSegment.cs
- DataGridView.cs
- TaskCanceledException.cs
- EpmSourceTree.cs
- MachineSettingsSection.cs
- StatusStrip.cs
- NameValueCollection.cs
- Serializer.cs
- InfiniteIntConverter.cs
- xmlformatgeneratorstatics.cs
- RemotingServices.cs
- Soap.cs
- DBCommandBuilder.cs
- OptimisticConcurrencyException.cs
- WorkflowInspectionServices.cs
- DistributedTransactionPermission.cs
- ListBase.cs
- WebConfigurationFileMap.cs
- RotationValidation.cs
- ProfileEventArgs.cs
- CurrentTimeZone.cs
- EmptyImpersonationContext.cs
- BitVector32.cs
- Context.cs
- UnmanagedBitmapWrapper.cs
- WebPartAuthorizationEventArgs.cs
- SamlAuthenticationClaimResource.cs
- DecoderFallback.cs
- HtmlMeta.cs
- NonceToken.cs
- WSDualHttpSecurityElement.cs
- ThreadStateException.cs
- SizeAnimationBase.cs
- ResXResourceReader.cs
- WebDescriptionAttribute.cs
- ConstrainedDataObject.cs
- _NetworkingPerfCounters.cs
- OrderedDictionary.cs
- Rect3D.cs
- DataGridViewUtilities.cs
- ToolStripSeparatorRenderEventArgs.cs
- Rect3DConverter.cs
- DataSet.cs
- ZipIOLocalFileDataDescriptor.cs
- RemoteWebConfigurationHost.cs
- XmlSchema.cs
- ConditionValidator.cs
- HtmlTableCellCollection.cs
- WebConfigurationHostFileChange.cs
- IsolationInterop.cs
- EntityClassGenerator.cs
- ObjectReferenceStack.cs