Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeRestriction.cs / 1 / XmlSchemaSimpleTypeRestriction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleTypeRestriction : XmlSchemaSimpleTypeContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); ///[To be supplied.] ////// /// [XmlAttribute("base")] public XmlQualifiedName BaseTypeName { get { return baseTypeName; } set { baseTypeName = (value == null ? XmlQualifiedName.Empty : value); } } ///[To be supplied.] ////// /// [XmlElement("simpleType", typeof(XmlSchemaSimpleType))] public XmlSchemaSimpleType BaseType { get { return baseType; } set { baseType = value; } } ///[To be supplied.] ////// /// [XmlElement("length", typeof(XmlSchemaLengthFacet)), XmlElement("minLength", typeof(XmlSchemaMinLengthFacet)), XmlElement("maxLength", typeof(XmlSchemaMaxLengthFacet)), XmlElement("pattern", typeof(XmlSchemaPatternFacet)), XmlElement("enumeration", typeof(XmlSchemaEnumerationFacet)), XmlElement("maxInclusive", typeof(XmlSchemaMaxInclusiveFacet)), XmlElement("maxExclusive", typeof(XmlSchemaMaxExclusiveFacet)), XmlElement("minInclusive", typeof(XmlSchemaMinInclusiveFacet)), XmlElement("minExclusive", typeof(XmlSchemaMinExclusiveFacet)), XmlElement("totalDigits", typeof(XmlSchemaTotalDigitsFacet)), XmlElement("fractionDigits", typeof(XmlSchemaFractionDigitsFacet)), XmlElement("whiteSpace", typeof(XmlSchemaWhiteSpaceFacet))] public XmlSchemaObjectCollection Facets { get { return facets; } } internal override XmlSchemaObject Clone() { XmlSchemaSimpleTypeRestriction newRestriction = (XmlSchemaSimpleTypeRestriction)MemberwiseClone(); newRestriction.BaseTypeName = baseTypeName.Clone(); return newRestriction; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExclusiveCanonicalizationTransform.cs
- PeerObject.cs
- SuppressMessageAttribute.cs
- ActivityExecutorSurrogate.cs
- CategoryAttribute.cs
- Content.cs
- WebServicesDescriptionAttribute.cs
- Message.cs
- EmptyImpersonationContext.cs
- NGCSerializerAsync.cs
- DecimalConstantAttribute.cs
- TextTrailingCharacterEllipsis.cs
- ItemDragEvent.cs
- RowToParametersTransformer.cs
- BitmapEncoder.cs
- HttpContextServiceHost.cs
- updateconfighost.cs
- BitStack.cs
- HeaderElement.cs
- LinearKeyFrames.cs
- Matrix3D.cs
- LoginUtil.cs
- MonikerSyntaxException.cs
- XmlText.cs
- TypeSystem.cs
- ItemDragEvent.cs
- RoleGroupCollection.cs
- ActiveXHost.cs
- DesignerAutoFormatCollection.cs
- PropertyMappingExceptionEventArgs.cs
- InstanceValue.cs
- TypeResolver.cs
- UdpContractFilterBehavior.cs
- MatrixCamera.cs
- EntityDataSourceContainerNameConverter.cs
- ArrayConverter.cs
- CriticalHandle.cs
- infer.cs
- PageBreakRecord.cs
- PeerUnsafeNativeMethods.cs
- Attachment.cs
- EntityContainerRelationshipSet.cs
- ToolStripDesigner.cs
- BitConverter.cs
- SecurityElement.cs
- DesignerAttribute.cs
- PassportIdentity.cs
- ProxyManager.cs
- TextBox.cs
- PointAnimationUsingPath.cs
- DockPattern.cs
- WebBaseEventKeyComparer.cs
- securestring.cs
- MetadataCache.cs
- RichTextBox.cs
- WindowsTab.cs
- Helpers.cs
- Paragraph.cs
- XPathMultyIterator.cs
- SHA256Managed.cs
- BlobPersonalizationState.cs
- SiteMapDataSource.cs
- AutomationTextAttribute.cs
- NativeRightsManagementAPIsStructures.cs
- StructuralObject.cs
- SafeSerializationManager.cs
- HtmlTableCellCollection.cs
- CodeSnippetTypeMember.cs
- IssuanceLicense.cs
- QueryConverter.cs
- RowTypeElement.cs
- CryptoHandle.cs
- WebReferencesBuildProvider.cs
- VisualStyleElement.cs
- SelectionUIService.cs
- GeometryHitTestParameters.cs
- Walker.cs
- SystemIPAddressInformation.cs
- DataGridAutomationPeer.cs
- PartialTrustVisibleAssemblyCollection.cs
- BuildDependencySet.cs
- HttpDictionary.cs
- ConsumerConnectionPointCollection.cs
- ToolBarButton.cs
- TextRange.cs
- RoleServiceManager.cs
- ProfilePropertyNameValidator.cs
- CodeTypeMember.cs
- CompilerScope.Storage.cs
- QueryCursorEventArgs.cs
- BufferedGraphics.cs
- QilIterator.cs
- ApplicationSettingsBase.cs
- CqlLexer.cs
- FixedSOMTableRow.cs
- SettingsAttributeDictionary.cs
- serverconfig.cs
- DynamicQueryableWrapper.cs
- OdbcParameter.cs
- TypeConverterAttribute.cs