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
- ValidatorCollection.cs
- SafeFileMappingHandle.cs
- ObjectDataSourceDisposingEventArgs.cs
- DateTimeFormatInfoScanner.cs
- MetadataItemSerializer.cs
- WorkerRequest.cs
- CompilationUtil.cs
- ToolStripHighContrastRenderer.cs
- MessageBox.cs
- SafeBuffer.cs
- ArgumentReference.cs
- BuildManager.cs
- ThicknessConverter.cs
- TypeBrowserDialog.cs
- PeerTransportBindingElement.cs
- CryptoProvider.cs
- GridViewDeletedEventArgs.cs
- MenuItem.cs
- DesignTimeVisibleAttribute.cs
- baseaxisquery.cs
- DecryptRequest.cs
- ValueExpressions.cs
- EditorZoneBase.cs
- HttpResponseInternalWrapper.cs
- HMACSHA1.cs
- TextEffect.cs
- EmulateRecognizeCompletedEventArgs.cs
- MILUtilities.cs
- XmlDataSourceView.cs
- PlainXmlSerializer.cs
- AutoResizedEvent.cs
- FormsAuthenticationUser.cs
- DataBindingExpressionBuilder.cs
- _emptywebproxy.cs
- NavigationProperty.cs
- DataGridViewDataErrorEventArgs.cs
- EventLogPermissionAttribute.cs
- InsufficientExecutionStackException.cs
- UriSection.cs
- HostVisual.cs
- ProviderManager.cs
- XmlSchemaSimpleTypeRestriction.cs
- StringBlob.cs
- cookieexception.cs
- TraceHandlerErrorFormatter.cs
- ServiceHttpModule.cs
- PageClientProxyGenerator.cs
- SectionInput.cs
- CultureTable.cs
- StrokeIntersection.cs
- ListItemCollection.cs
- WindowVisualStateTracker.cs
- StorageFunctionMapping.cs
- CheckBoxAutomationPeer.cs
- BinaryUtilClasses.cs
- XDeferredAxisSource.cs
- HttpCacheParams.cs
- TextHidden.cs
- SystemException.cs
- GridViewDeleteEventArgs.cs
- HttpApplicationFactory.cs
- CodeGotoStatement.cs
- EntityWithChangeTrackerStrategy.cs
- Listbox.cs
- DoWorkEventArgs.cs
- CryptoStream.cs
- ListViewItemSelectionChangedEvent.cs
- SocketAddress.cs
- TextBoxAutoCompleteSourceConverter.cs
- HistoryEventArgs.cs
- ClassicBorderDecorator.cs
- Encoding.cs
- ToolStripItem.cs
- SQLString.cs
- ByteAnimation.cs
- WebEventTraceProvider.cs
- ConnectionsZone.cs
- ModelEditingScope.cs
- ObjectKeyFrameCollection.cs
- Context.cs
- ImageButton.cs
- VirtualizingPanel.cs
- ByteStack.cs
- SignatureGenerator.cs
- SQLInt32Storage.cs
- Operators.cs
- SuppressMergeCheckAttribute.cs
- SHA1Managed.cs
- Gdiplus.cs
- NameNode.cs
- TextTreeRootNode.cs
- RegexRunner.cs
- EmissiveMaterial.cs
- BindingManagerDataErrorEventArgs.cs
- DependencyPropertyKind.cs
- CompressEmulationStream.cs
- DiagnosticsConfiguration.cs
- SchemaTypeEmitter.cs
- SqlNodeAnnotations.cs
- StackOverflowException.cs