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
- SelectedDatesCollection.cs
- CapabilitiesState.cs
- _ContextAwareResult.cs
- XmlSchemaAttributeGroup.cs
- BasicViewGenerator.cs
- SimpleWorkerRequest.cs
- FaultException.cs
- MessageSecurityOverHttpElement.cs
- RegistrationContext.cs
- IgnoreDeviceFilterElement.cs
- KeyGesture.cs
- TcpClientSocketManager.cs
- HtmlImage.cs
- HttpValueCollection.cs
- CodeObjectCreateExpression.cs
- smtppermission.cs
- SamlAssertionKeyIdentifierClause.cs
- XamlWriterExtensions.cs
- XPathSelfQuery.cs
- CryptoConfig.cs
- ResourceManager.cs
- SqlInternalConnectionSmi.cs
- WebHttpBindingElement.cs
- ParagraphVisual.cs
- OverflowException.cs
- BinarySerializer.cs
- BamlMapTable.cs
- DataSourceHelper.cs
- Baml2006SchemaContext.cs
- PointHitTestResult.cs
- BitmapImage.cs
- ViewgenContext.cs
- PolyQuadraticBezierSegment.cs
- RequestCachingSection.cs
- PublishLicense.cs
- TimeSpanValidatorAttribute.cs
- Span.cs
- WpfWebRequestHelper.cs
- DesignerSerializationManager.cs
- InkPresenter.cs
- SendMailErrorEventArgs.cs
- CodeAttributeArgumentCollection.cs
- SettingsPropertyIsReadOnlyException.cs
- PkcsMisc.cs
- SimpleRecyclingCache.cs
- ColumnResizeAdorner.cs
- ScriptManagerProxy.cs
- LineInfo.cs
- KeyboardNavigation.cs
- DataGridViewComboBoxEditingControl.cs
- XmlMessageFormatter.cs
- DataObject.cs
- Int16Animation.cs
- ListControlConvertEventArgs.cs
- TextSelectionProcessor.cs
- VBIdentifierDesigner.xaml.cs
- NonBatchDirectoryCompiler.cs
- _CookieModule.cs
- InheritedPropertyChangedEventArgs.cs
- ClockController.cs
- QueryPageSettingsEventArgs.cs
- ComboBoxAutomationPeer.cs
- Logging.cs
- ObjectIDGenerator.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SwitchLevelAttribute.cs
- SyntaxCheck.cs
- RichTextBox.cs
- IndentedWriter.cs
- OperatingSystem.cs
- MD5CryptoServiceProvider.cs
- WebPartManagerInternals.cs
- ConvertEvent.cs
- CheckBoxAutomationPeer.cs
- securitycriticaldataClass.cs
- XmlCharacterData.cs
- BitmapEffect.cs
- LogSwitch.cs
- UpdateRecord.cs
- PeerDuplexChannel.cs
- DesignerActionUIService.cs
- SqlTriggerContext.cs
- Vector3D.cs
- ConstraintCollection.cs
- PKCS1MaskGenerationMethod.cs
- PropertyHelper.cs
- TextAdaptor.cs
- StateInitialization.cs
- TrackBarDesigner.cs
- ControlEvent.cs
- ProcessInfo.cs
- XmlSchemaAttributeGroupRef.cs
- MessageBox.cs
- CallContext.cs
- XmlDeclaration.cs
- TextRangeAdaptor.cs
- NumberAction.cs
- DbXmlEnabledProviderManifest.cs
- ObjectStateManagerMetadata.cs
- DesignTimeTemplateParser.cs