Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. //------------------------------------------------------------------------------ //[To be supplied.] ///// 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.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSerializerVersionAttribute.cs
- Brush.cs
- DataServiceQueryProvider.cs
- SqlUDTStorage.cs
- DNS.cs
- ClientSettingsProvider.cs
- AttachmentCollection.cs
- IDictionary.cs
- ModifierKeysConverter.cs
- MSHTMLHostUtil.cs
- DesignerWithHeader.cs
- COAUTHINFO.cs
- SaveLedgerEntryRequest.cs
- ExportException.cs
- TextComposition.cs
- ComplexBindingPropertiesAttribute.cs
- ItemsControlAutomationPeer.cs
- CollectionChangedEventManager.cs
- DbProviderSpecificTypePropertyAttribute.cs
- UmAlQuraCalendar.cs
- ByteAnimationUsingKeyFrames.cs
- RowUpdatingEventArgs.cs
- CodeTypeParameterCollection.cs
- HyperlinkAutomationPeer.cs
- SamlAudienceRestrictionCondition.cs
- SmiContextFactory.cs
- TextContainerHelper.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ReadWriteControlDesigner.cs
- DbUpdateCommandTree.cs
- Int32Rect.cs
- MsmqIntegrationSecurityMode.cs
- Endpoint.cs
- OrderedDictionary.cs
- IListConverters.cs
- DurableDispatcherAddressingFault.cs
- List.cs
- mactripleDES.cs
- AppDomainEvidenceFactory.cs
- WebScriptClientGenerator.cs
- CodeTypeMember.cs
- ValuePatternIdentifiers.cs
- CroppedBitmap.cs
- PathGeometry.cs
- SuspendDesigner.cs
- Logging.cs
- SetStateDesigner.cs
- TreeViewItem.cs
- RemotingServices.cs
- ConfigurationProperty.cs
- DataPagerField.cs
- TraceHandlerErrorFormatter.cs
- MailWebEventProvider.cs
- QueryAsyncResult.cs
- EventLogWatcher.cs
- Typeface.cs
- StatusBarPanelClickEvent.cs
- SqlTypeSystemProvider.cs
- TableCellAutomationPeer.cs
- SqlConnectionPoolGroupProviderInfo.cs
- CharEntityEncoderFallback.cs
- FrameworkTemplate.cs
- recordstatefactory.cs
- ZipIORawDataFileBlock.cs
- SqlDataSourceEnumerator.cs
- ProviderBase.cs
- StatusBarDrawItemEvent.cs
- RecognizerInfo.cs
- Transform3D.cs
- OdbcConnection.cs
- GeometryDrawing.cs
- CircleHotSpot.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- EdmScalarPropertyAttribute.cs
- HandleCollector.cs
- RuleSettingsCollection.cs
- AssemblyBuilder.cs
- RelOps.cs
- NumericExpr.cs
- LongValidator.cs
- PolyBezierSegment.cs
- NgenServicingAttributes.cs
- PauseStoryboard.cs
- MemoryPressure.cs
- TableLayoutPanelCellPosition.cs
- LocationUpdates.cs
- ZipIOModeEnforcingStream.cs
- UserPreferenceChangedEventArgs.cs
- CompositionTarget.cs
- SynchronizedInputProviderWrapper.cs
- SchemaInfo.cs
- ElapsedEventArgs.cs
- FloatMinMaxAggregationOperator.cs
- BitmapEffectCollection.cs
- ToolStripDropDown.cs
- BitmapPalette.cs
- SafeNativeMethods.cs
- XNodeValidator.cs
- Certificate.cs
- SamlAction.cs