Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleType.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IntegrationExceptionEventArgs.cs
- GroupByExpressionRewriter.cs
- GridViewUpdatedEventArgs.cs
- XmlAttributeAttribute.cs
- ResXBuildProvider.cs
- BaseUriHelper.cs
- InputLanguageSource.cs
- CorrelationResolver.cs
- FileDialogPermission.cs
- RegexCaptureCollection.cs
- TextSearch.cs
- DataGridViewCellStateChangedEventArgs.cs
- TypeConverterHelper.cs
- CssTextWriter.cs
- UriTemplateLiteralQueryValue.cs
- ToolStripCustomTypeDescriptor.cs
- Bookmark.cs
- WebPartEditorCancelVerb.cs
- DataGridColumnDropSeparator.cs
- ImageCodecInfo.cs
- GetPageCompletedEventArgs.cs
- ResXResourceSet.cs
- ExplicitDiscriminatorMap.cs
- GroupedContextMenuStrip.cs
- SimpleHandlerBuildProvider.cs
- exports.cs
- CodeParameterDeclarationExpression.cs
- XamlHttpHandlerFactory.cs
- StylusDownEventArgs.cs
- MetadataProperty.cs
- StylusEventArgs.cs
- XDRSchema.cs
- TextAnchor.cs
- PropertyMappingExceptionEventArgs.cs
- GrowingArray.cs
- SpecularMaterial.cs
- SiteMapProvider.cs
- SimpleType.cs
- OrderingQueryOperator.cs
- EditorZoneBase.cs
- AuthorizationContext.cs
- Region.cs
- StylusDevice.cs
- TemplateNodeContextMenu.cs
- FixedSOMTableRow.cs
- COM2FontConverter.cs
- PcmConverter.cs
- CoreSwitches.cs
- x509store.cs
- VirtualDirectoryMapping.cs
- XmlChoiceIdentifierAttribute.cs
- DecoderBestFitFallback.cs
- DynamicDocumentPaginator.cs
- XpsFontSerializationService.cs
- Point3DAnimation.cs
- UnsafeNativeMethods.cs
- FileDialog_Vista.cs
- NewArray.cs
- ComponentCollection.cs
- WindowsPrincipal.cs
- RegexCompilationInfo.cs
- Comparer.cs
- DoubleConverter.cs
- LayoutUtils.cs
- ToolStripLocationCancelEventArgs.cs
- XmlSchemaExternal.cs
- Int32EqualityComparer.cs
- StringConverter.cs
- Decoder.cs
- InheritanceRules.cs
- StringUtil.cs
- ConnectionPoolManager.cs
- HiddenFieldPageStatePersister.cs
- FlowDocumentView.cs
- PolicyLevel.cs
- PropertyTabAttribute.cs
- BufferModeSettings.cs
- DbXmlEnabledProviderManifest.cs
- DataGridViewAccessibleObject.cs
- BooleanStorage.cs
- errorpatternmatcher.cs
- DeadCharTextComposition.cs
- Viewport3DAutomationPeer.cs
- WebServiceEnumData.cs
- SecurityContextCookieSerializer.cs
- Update.cs
- Internal.cs
- AccessDataSourceDesigner.cs
- ListView.cs
- ManifestResourceInfo.cs
- SymLanguageType.cs
- FileDialog_Vista.cs
- HttpHandlerActionCollection.cs
- ClientCredentialsElement.cs
- XPathExpr.cs
- IteratorFilter.cs
- DataGridColumnReorderingEventArgs.cs
- RectValueSerializer.cs
- HttpListenerRequestUriBuilder.cs
- ConfigurationStrings.cs