Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeRestriction.cs / 1305376 / 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
- MarkupWriter.cs
- ValidatorCompatibilityHelper.cs
- DesignerDataTable.cs
- PrintDocument.cs
- AccessibleObject.cs
- DataGridAutomationPeer.cs
- documentation.cs
- Binding.cs
- InstalledFontCollection.cs
- PopupControlService.cs
- Line.cs
- CSharpCodeProvider.cs
- SignatureHelper.cs
- EntitySet.cs
- HttpTransportSecurityElement.cs
- ArrangedElementCollection.cs
- FunctionNode.cs
- oledbmetadatacollectionnames.cs
- RelationHandler.cs
- DisposableCollectionWrapper.cs
- ToolBarButton.cs
- RequestContext.cs
- DbTransaction.cs
- PackageStore.cs
- PackUriHelper.cs
- SessionStateContainer.cs
- AnimationLayer.cs
- VisualProxy.cs
- DocumentNUp.cs
- TextEffectCollection.cs
- WindowsToolbar.cs
- DataChangedEventManager.cs
- ParallelTimeline.cs
- LoginCancelEventArgs.cs
- ListViewItem.cs
- BuildProvider.cs
- GridViewRowCollection.cs
- FixedSOMPage.cs
- EventPrivateKey.cs
- AttachedAnnotationChangedEventArgs.cs
- Literal.cs
- SafeNativeHandle.cs
- ScrollData.cs
- StateMachineDesignerPaint.cs
- AuthenticationConfig.cs
- ColumnWidthChangedEvent.cs
- Dynamic.cs
- AnnotationService.cs
- AppManager.cs
- WindowsGraphics.cs
- DPAPIProtectedConfigurationProvider.cs
- ThousandthOfEmRealDoubles.cs
- DurableRuntimeValidator.cs
- PrimaryKeyTypeConverter.cs
- Bits.cs
- SamlConditions.cs
- arclist.cs
- WMIGenerator.cs
- DoubleLink.cs
- Expressions.cs
- LayoutManager.cs
- FreezableDefaultValueFactory.cs
- shaper.cs
- VersionedStreamOwner.cs
- ArgumentNullException.cs
- TypedElement.cs
- DataGridViewCellLinkedList.cs
- CompilerGeneratedAttribute.cs
- FormatConvertedBitmap.cs
- ProviderUtil.cs
- SecurityDocument.cs
- _HeaderInfoTable.cs
- NavigationPropertySingletonExpression.cs
- WebPartConnectVerb.cs
- ToolStripContainer.cs
- SingleTagSectionHandler.cs
- Message.cs
- ToolStripComboBox.cs
- DoubleAnimationUsingPath.cs
- StrokeRenderer.cs
- MdiWindowListItemConverter.cs
- DefaultCommandConverter.cs
- LeftCellWrapper.cs
- ResourceManager.cs
- IndicFontClient.cs
- GridViewRowCollection.cs
- StylusPointPropertyInfo.cs
- OdbcEnvironment.cs
- InstanceLockLostException.cs
- InternalSendMessage.cs
- RegisteredHiddenField.cs
- FlagsAttribute.cs
- TextElementEnumerator.cs
- securestring.cs
- XmlUTF8TextWriter.cs
- dbdatarecord.cs
- XmlLoader.cs
- _NegoStream.cs
- TextViewBase.cs
- DesignerSelectionListAdapter.cs