Code:
/ DotNET / DotNET / 8.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
- SqlBulkCopyColumnMappingCollection.cs
- DataFormats.cs
- LogSwitch.cs
- LiteralText.cs
- AncestorChangedEventArgs.cs
- ListCollectionView.cs
- TextRunCacheImp.cs
- _HeaderInfoTable.cs
- MissingFieldException.cs
- ILGenerator.cs
- PersistChildrenAttribute.cs
- Panel.cs
- MsmqHostedTransportManager.cs
- ExpressionVisitorHelpers.cs
- ApplicationActivator.cs
- XsltException.cs
- Polyline.cs
- Graph.cs
- ConfigurationManagerHelper.cs
- WhitespaceSignificantCollectionAttribute.cs
- ItemType.cs
- Wildcard.cs
- XmlSerializerAssemblyAttribute.cs
- mansign.cs
- PhysicalOps.cs
- SmtpReplyReader.cs
- EditorZone.cs
- Menu.cs
- SimpleExpression.cs
- ServerValidateEventArgs.cs
- EmulateRecognizeCompletedEventArgs.cs
- DataRecordInternal.cs
- ImageAutomationPeer.cs
- OutputCacheSection.cs
- BaseConfigurationRecord.cs
- AQNBuilder.cs
- SiteMapHierarchicalDataSourceView.cs
- MultipleFilterMatchesException.cs
- HostingEnvironmentWrapper.cs
- ApplicationGesture.cs
- ServicePointManager.cs
- DataExpression.cs
- CharacterHit.cs
- Point.cs
- SchemaNotation.cs
- EventEntry.cs
- SafeCryptHandles.cs
- DataGridItemEventArgs.cs
- GradientStopCollection.cs
- Win32.cs
- NavigationWindow.cs
- CatalogPartChrome.cs
- StorageMappingItemCollection.cs
- FontCacheLogic.cs
- DesignerCategoryAttribute.cs
- SqlUtil.cs
- ToolStripContentPanel.cs
- ServiceProviders.cs
- ChannelFactory.cs
- WmlListAdapter.cs
- TableHeaderCell.cs
- InternalBufferOverflowException.cs
- PositiveTimeSpanValidatorAttribute.cs
- TcpSocketManager.cs
- IDQuery.cs
- SystemException.cs
- DSASignatureFormatter.cs
- EncryptedHeader.cs
- Rectangle.cs
- DataGridColumnFloatingHeader.cs
- TemplatePropertyEntry.cs
- ObjectKeyFrameCollection.cs
- FixedBufferAttribute.cs
- Point.cs
- CodeIdentifiers.cs
- MetroSerializationManager.cs
- CodeCommentStatementCollection.cs
- sqlcontext.cs
- DynamicObjectAccessor.cs
- TableAdapterManagerGenerator.cs
- ScriptingRoleServiceSection.cs
- DataGridTablesFactory.cs
- UnitySerializationHolder.cs
- ListViewPagedDataSource.cs
- URLString.cs
- Command.cs
- webeventbuffer.cs
- HwndSource.cs
- WorkflowShape.cs
- BaseDataBoundControl.cs
- TableLayoutPanel.cs
- XsdBuildProvider.cs
- ChannelPoolSettings.cs
- TableFieldsEditor.cs
- InitializerFacet.cs
- ProxyWebPart.cs
- PreviewPageInfo.cs
- SevenBitStream.cs
- LayoutEditorPart.cs
- OleDbRowUpdatedEvent.cs