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
- ZipPackage.cs
- Int64AnimationUsingKeyFrames.cs
- cookieexception.cs
- Button.cs
- PictureBox.cs
- EntityUtil.cs
- PublisherIdentityPermission.cs
- HttpRequestWrapper.cs
- MetadataItem.cs
- CroppedBitmap.cs
- Drawing.cs
- Triplet.cs
- Predicate.cs
- CodeSnippetExpression.cs
- MailMessageEventArgs.cs
- DeclarationUpdate.cs
- WebBrowserNavigatingEventHandler.cs
- TriState.cs
- UInt32Converter.cs
- OSFeature.cs
- StateMachineSubscriptionManager.cs
- DocumentViewerBaseAutomationPeer.cs
- HttpModuleAction.cs
- TextDecorationCollectionConverter.cs
- HttpHandlerActionCollection.cs
- GacUtil.cs
- LicenseManager.cs
- RequestCachingSection.cs
- XmlSchemaChoice.cs
- QuestionEventArgs.cs
- SecurityException.cs
- ParameterReplacerVisitor.cs
- CLRBindingWorker.cs
- OleServicesContext.cs
- BitmapFrameDecode.cs
- DBSchemaTable.cs
- Transform3DGroup.cs
- RoutingBehavior.cs
- TableSectionStyle.cs
- PersonalizableAttribute.cs
- BaseDataBoundControl.cs
- ValidationHelper.cs
- TypeValidationEventArgs.cs
- TableAutomationPeer.cs
- Triplet.cs
- ETagAttribute.cs
- TabRenderer.cs
- DateTimePickerDesigner.cs
- SqlBulkCopy.cs
- EntityDataReader.cs
- EntityReference.cs
- LabelInfo.cs
- DetailsViewUpdateEventArgs.cs
- EdmFunction.cs
- XPathNavigatorReader.cs
- StackOverflowException.cs
- UIElementParagraph.cs
- Simplifier.cs
- AppSettings.cs
- DrawingContextDrawingContextWalker.cs
- TaskbarItemInfo.cs
- AuthenticationService.cs
- BindingContext.cs
- DesignerHierarchicalDataSourceView.cs
- PathFigureCollection.cs
- LingerOption.cs
- LambdaExpression.cs
- WebConfigurationHostFileChange.cs
- XmlSignatureProperties.cs
- Native.cs
- ImportDesigner.xaml.cs
- ExpressionConverter.cs
- TraceSection.cs
- FlowDocumentPaginator.cs
- XmlSerializationWriter.cs
- GridLengthConverter.cs
- InheritanceUI.cs
- DataGridViewSelectedColumnCollection.cs
- ActionFrame.cs
- SqlProcedureAttribute.cs
- DnsElement.cs
- InputProcessorProfiles.cs
- ImageInfo.cs
- ServiceOperationParameter.cs
- BoundPropertyEntry.cs
- BufferedWebEventProvider.cs
- XmlNode.cs
- DataGridAutoFormatDialog.cs
- StylusPointPropertyInfo.cs
- SystemMulticastIPAddressInformation.cs
- DuplicateDetector.cs
- IndentedWriter.cs
- FactoryGenerator.cs
- StringComparer.cs
- ResourceCategoryAttribute.cs
- SqlNode.cs
- OleDbReferenceCollection.cs
- Bezier.cs
- ClassHandlersStore.cs
- EditCommandColumn.cs