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
- ThreadStartException.cs
- TreeViewAutomationPeer.cs
- nulltextnavigator.cs
- _CommandStream.cs
- IndividualDeviceConfig.cs
- EntityDataSourceSelectingEventArgs.cs
- PersonalizationAdministration.cs
- OperationAbortedException.cs
- SchemaHelper.cs
- NavigationService.cs
- TagElement.cs
- MapPathBasedVirtualPathProvider.cs
- MultiPropertyDescriptorGridEntry.cs
- CodeTypeMember.cs
- DataSourceComponent.cs
- NativeMethods.cs
- TagPrefixInfo.cs
- TextPenaltyModule.cs
- TCEAdapterGenerator.cs
- WebPartEditorApplyVerb.cs
- FileSystemInfo.cs
- Screen.cs
- InvalidOleVariantTypeException.cs
- ExpressionVisitor.cs
- TreeNodeCollectionEditor.cs
- IdentifierCollection.cs
- PtsPage.cs
- OleDbDataReader.cs
- validation.cs
- DataGridViewCellValidatingEventArgs.cs
- ExtendedPropertyCollection.cs
- GrammarBuilder.cs
- MetafileHeaderWmf.cs
- ProfileEventArgs.cs
- DateTimeOffset.cs
- XmlQueryStaticData.cs
- LineSegment.cs
- HtmlTableCell.cs
- XmlKeywords.cs
- SspiNegotiationTokenAuthenticatorState.cs
- RequestCachePolicy.cs
- CompositeScriptReference.cs
- AdRotator.cs
- MissingMemberException.cs
- WindowsListViewGroup.cs
- Int16AnimationUsingKeyFrames.cs
- UserThread.cs
- ServerIdentity.cs
- Win32SafeHandles.cs
- PropertyMetadata.cs
- RemotingAttributes.cs
- QueryOperatorEnumerator.cs
- UrlAuthorizationModule.cs
- DataControlPagerLinkButton.cs
- BindableTemplateBuilder.cs
- BStrWrapper.cs
- WhitespaceRuleLookup.cs
- RectIndependentAnimationStorage.cs
- PasswordTextNavigator.cs
- UnsafeNativeMethodsMilCoreApi.cs
- XmlHierarchicalDataSourceView.cs
- DetailsViewActionList.cs
- WmlPhoneCallAdapter.cs
- UnsafeNativeMethods.cs
- SafeCryptoHandles.cs
- HelpInfo.cs
- ContextItemManager.cs
- SafeHandles.cs
- IncrementalCompileAnalyzer.cs
- MappingException.cs
- XmlReader.cs
- SystemGatewayIPAddressInformation.cs
- DirectoryObjectSecurity.cs
- TextHidden.cs
- Point4D.cs
- GZipStream.cs
- TableLayoutColumnStyleCollection.cs
- TempFiles.cs
- EntityDataReader.cs
- DecoderNLS.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- BamlMapTable.cs
- BinaryFormatter.cs
- ImpersonationOption.cs
- HttpModuleAction.cs
- System.Data_BID.cs
- MediaContext.cs
- ApplicationSecurityInfo.cs
- SqlDataSourceQueryEditor.cs
- WsdlHelpGeneratorElement.cs
- OleDbPropertySetGuid.cs
- DataServiceQueryException.cs
- PrimitiveXmlSerializers.cs
- AuthenticationManager.cs
- PrinterUnitConvert.cs
- PopupRootAutomationPeer.cs
- BitmapCache.cs
- WindowsFormsSectionHandler.cs
- TemplateField.cs
- WriteFileContext.cs