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
- DesignerGeometryHelper.cs
- SmiEventSink_DeferedProcessing.cs
- ContextQuery.cs
- DropDownList.cs
- XPathAncestorQuery.cs
- SpellerInterop.cs
- WebPartTransformer.cs
- Label.cs
- CodeDelegateCreateExpression.cs
- _DisconnectOverlappedAsyncResult.cs
- MasterPageBuildProvider.cs
- EventLogStatus.cs
- XmlNodeChangedEventArgs.cs
- ScriptReferenceEventArgs.cs
- ProfileInfo.cs
- HttpHandlersInstallComponent.cs
- FixUp.cs
- RayHitTestParameters.cs
- RewritingSimplifier.cs
- ScrollData.cs
- StoreContentChangedEventArgs.cs
- WebBrowser.cs
- GPRECTF.cs
- Msec.cs
- TextContainerChangeEventArgs.cs
- HttpEncoderUtility.cs
- OleDbRowUpdatedEvent.cs
- InputProcessorProfiles.cs
- Propagator.Evaluator.cs
- FileUtil.cs
- SafeCertificateContext.cs
- EntityDataSourceState.cs
- Stopwatch.cs
- MarkupObject.cs
- DataViewManagerListItemTypeDescriptor.cs
- DataGridViewTopLeftHeaderCell.cs
- _Connection.cs
- WeakHashtable.cs
- GcHandle.cs
- NavigatingCancelEventArgs.cs
- ArrayElementGridEntry.cs
- ColumnPropertiesGroup.cs
- NullableConverter.cs
- RightNameExpirationInfoPair.cs
- RectangleF.cs
- SqlUdtInfo.cs
- UserInitiatedNavigationPermission.cs
- DbReferenceCollection.cs
- SafeThreadHandle.cs
- PairComparer.cs
- IDQuery.cs
- CardSpaceSelector.cs
- CodeCatchClauseCollection.cs
- SRGSCompiler.cs
- LogicalTreeHelper.cs
- MethodBody.cs
- ExtensionQuery.cs
- cache.cs
- XMLDiffLoader.cs
- VisualStyleInformation.cs
- sqlpipe.cs
- ObjectSpanRewriter.cs
- XNodeValidator.cs
- RegexTree.cs
- TemplateNameScope.cs
- CryptoHandle.cs
- RequestDescription.cs
- RewritingSimplifier.cs
- Nullable.cs
- NonDualMessageSecurityOverHttpElement.cs
- ConstructorBuilder.cs
- CommandConverter.cs
- CharacterMetrics.cs
- InfiniteTimeSpanConverter.cs
- Latin1Encoding.cs
- PropertyGridCommands.cs
- ResXResourceWriter.cs
- BamlMapTable.cs
- StructuredTypeEmitter.cs
- XmlDataSource.cs
- Cursors.cs
- GPRECTF.cs
- EntityDataSourceChangingEventArgs.cs
- PerformanceCounterPermissionEntry.cs
- AxHost.cs
- Wizard.cs
- PeerContact.cs
- _TLSstream.cs
- DecoderBestFitFallback.cs
- SafeRightsManagementPubHandle.cs
- AuthenticationModulesSection.cs
- GregorianCalendar.cs
- CustomErrorCollection.cs
- MenuAutoFormat.cs
- FormatException.cs
- DocumentSignatureManager.cs
- StructuredCompositeActivityDesigner.cs
- ProtocolsConfiguration.cs
- EntityDataSourceReferenceGroup.cs
- Point3DKeyFrameCollection.cs