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
- DataListItemEventArgs.cs
- LineServices.cs
- DBCommand.cs
- log.cs
- ComboBoxItem.cs
- TransactionTraceIdentifier.cs
- TextChangedEventArgs.cs
- EntityDataSourceDesigner.cs
- SqlUtils.cs
- RelationshipFixer.cs
- MgmtConfigurationRecord.cs
- FixedSOMLineRanges.cs
- TypeElement.cs
- LinqDataSourceValidationException.cs
- WorkflowViewStateService.cs
- SourceSwitch.cs
- NativeWindow.cs
- TextElementCollection.cs
- PropertyEmitterBase.cs
- Function.cs
- SystemIPGlobalProperties.cs
- DataGridCommandEventArgs.cs
- ArrayExtension.cs
- UrlPropertyAttribute.cs
- Version.cs
- CacheVirtualItemsEvent.cs
- odbcmetadatacolumnnames.cs
- ToolStripSeparator.cs
- DetailsViewInsertedEventArgs.cs
- QueryReaderSettings.cs
- HtmlShimManager.cs
- ReadOnlyCollection.cs
- DataGridViewAdvancedBorderStyle.cs
- XmlComment.cs
- PenLineJoinValidation.cs
- XmlSchema.cs
- Ipv6Element.cs
- XPathNavigatorKeyComparer.cs
- DetailsViewModeEventArgs.cs
- DesignerWithHeader.cs
- SimpleBitVector32.cs
- SmtpReplyReader.cs
- CopyOfAction.cs
- StrongTypingException.cs
- ElementAction.cs
- DynamicMethod.cs
- Attributes.cs
- FontUnitConverter.cs
- WindowsPen.cs
- IndexedGlyphRun.cs
- BitmapEffectInput.cs
- ModuleElement.cs
- BindableTemplateBuilder.cs
- OLEDB_Util.cs
- DataSourceControlBuilder.cs
- WSTransactionSection.cs
- UserControl.cs
- HuffmanTree.cs
- InProcStateClientManager.cs
- NameValuePair.cs
- tibetanshape.cs
- DES.cs
- EpmTargetTree.cs
- DesigntimeLicenseContextSerializer.cs
- CodeSnippetCompileUnit.cs
- HttpCachePolicyElement.cs
- Timer.cs
- LocatorPart.cs
- FontNamesConverter.cs
- ListViewInsertionMark.cs
- UnsafeNativeMethods.cs
- SoapBinding.cs
- TabItemWrapperAutomationPeer.cs
- SaveFileDialog.cs
- XmlIlGenerator.cs
- TransformerInfoCollection.cs
- Latin1Encoding.cs
- VectorCollection.cs
- UnitySerializationHolder.cs
- XmlDocumentSerializer.cs
- TraceContextRecord.cs
- SByte.cs
- BulletedListDesigner.cs
- PeerNameResolver.cs
- StyleHelper.cs
- BigInt.cs
- PropertyPushdownHelper.cs
- DeflateStream.cs
- PageCodeDomTreeGenerator.cs
- PointConverter.cs
- X509CertificateClaimSet.cs
- Int16Animation.cs
- DataSourceControlBuilder.cs
- CompensatableSequenceActivity.cs
- ContextProperty.cs
- Point.cs
- FragmentNavigationEventArgs.cs
- BatchStream.cs
- ReflectionTypeLoadException.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs