Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HScrollProperties.cs
- RegionIterator.cs
- SynchronizedDisposablePool.cs
- Environment.cs
- SplitContainerDesigner.cs
- AspProxy.cs
- ItemCollectionEditor.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- MenuItem.cs
- ConnectorSelectionGlyph.cs
- AppDomainFactory.cs
- ServiceThrottle.cs
- EventSetter.cs
- FileDialog_Vista_Interop.cs
- WorkerRequest.cs
- SchemaCollectionCompiler.cs
- MimeObjectFactory.cs
- Zone.cs
- RectangleGeometry.cs
- MyContact.cs
- CapabilitiesRule.cs
- LayoutSettings.cs
- SQLBytesStorage.cs
- ImageFormatConverter.cs
- GroupByExpressionRewriter.cs
- ControlIdConverter.cs
- RegexTree.cs
- SmiMetaDataProperty.cs
- AppDomainFactory.cs
- InkSerializer.cs
- indexingfiltermarshaler.cs
- HeaderedContentControl.cs
- CopyNamespacesAction.cs
- FixedPageStructure.cs
- TdsParserStateObject.cs
- SocketPermission.cs
- BamlResourceContent.cs
- LinkButton.cs
- AggregatePushdown.cs
- SHA1.cs
- SystemUdpStatistics.cs
- TypeDescriptionProvider.cs
- SolidColorBrush.cs
- ObjectHandle.cs
- ChannelTokenTypeConverter.cs
- LedgerEntry.cs
- Substitution.cs
- ObjectSet.cs
- ImageEditor.cs
- WebCategoryAttribute.cs
- UnsafeNativeMethodsMilCoreApi.cs
- WSDualHttpSecurity.cs
- ProxyManager.cs
- COM2IPerPropertyBrowsingHandler.cs
- ObjectManager.cs
- ParsedAttributeCollection.cs
- CapabilitiesState.cs
- DataSet.cs
- UInt16.cs
- SQLDecimal.cs
- StateElementCollection.cs
- CodeTypeMember.cs
- SettingsPropertyWrongTypeException.cs
- DatatypeImplementation.cs
- BinaryFormatter.cs
- Rect.cs
- BinarySerializer.cs
- EditingCoordinator.cs
- ArrangedElement.cs
- VariableExpressionConverter.cs
- DSASignatureFormatter.cs
- PinnedBufferMemoryStream.cs
- RegionData.cs
- GuidelineCollection.cs
- EdmEntityTypeAttribute.cs
- DirectionalLight.cs
- PeerNearMe.cs
- SmiEventSink_Default.cs
- IISUnsafeMethods.cs
- ValueExpressions.cs
- TablePatternIdentifiers.cs
- TemplateColumn.cs
- _ListenerResponseStream.cs
- IPipelineRuntime.cs
- DomNameTable.cs
- LoginUtil.cs
- GC.cs
- MouseButton.cs
- Int32Converter.cs
- ViewLoader.cs
- HtmlInputButton.cs
- HostingEnvironment.cs
- TiffBitmapDecoder.cs
- SurrogateDataContract.cs
- FontEmbeddingManager.cs
- DecimalConstantAttribute.cs
- StylusCaptureWithinProperty.cs
- PopupRootAutomationPeer.cs
- InputLangChangeRequestEvent.cs
- TableLayoutRowStyleCollection.cs