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
- RepeaterItemCollection.cs
- TimeManager.cs
- GeneralTransform2DTo3DTo2D.cs
- OpenTypeLayoutCache.cs
- XmlSchemaImporter.cs
- SettingsAttributes.cs
- WebConfigurationHostFileChange.cs
- _RequestCacheProtocol.cs
- ServiceThrottle.cs
- OutOfProcStateClientManager.cs
- DbMetaDataFactory.cs
- KnownBoxes.cs
- ResourceDescriptionAttribute.cs
- UMPAttributes.cs
- Grid.cs
- DocumentPageHost.cs
- TemplateKey.cs
- SafeNativeMethods.cs
- SiteOfOriginContainer.cs
- sqlnorm.cs
- DependencyObjectPropertyDescriptor.cs
- UnmanagedHandle.cs
- TextEditorCharacters.cs
- Utilities.cs
- DataGridViewTextBoxCell.cs
- NavigationWindow.cs
- TextDocumentView.cs
- ComponentConverter.cs
- ArithmeticLiteral.cs
- SiteMapNodeCollection.cs
- SatelliteContractVersionAttribute.cs
- CodeGroup.cs
- handlecollector.cs
- DesignerLoader.cs
- ContentPosition.cs
- RelationshipConverter.cs
- SystemException.cs
- GeometryCollection.cs
- ErrorFormatterPage.cs
- DataGridCaption.cs
- XpsSerializerFactory.cs
- KnownBoxes.cs
- HttpClientCertificate.cs
- WindowsSolidBrush.cs
- MarkupCompilePass2.cs
- RuleSetCollection.cs
- Timer.cs
- InputReferenceExpression.cs
- TileBrush.cs
- ServiceReference.cs
- ServiceElement.cs
- ObjectHelper.cs
- GenerateTemporaryAssemblyTask.cs
- KnownBoxes.cs
- DataFormats.cs
- TextLineBreak.cs
- XsltSettings.cs
- InternalTransaction.cs
- TextBoxAutoCompleteSourceConverter.cs
- TableParagraph.cs
- RuleSetDialog.Designer.cs
- TypeSemantics.cs
- keycontainerpermission.cs
- CustomTypeDescriptor.cs
- AssemblyInfo.cs
- MenuTracker.cs
- TableLayoutPanelResizeGlyph.cs
- HttpModulesSection.cs
- DocumentPageTextView.cs
- DefaultCompensation.cs
- DbParameterHelper.cs
- MissingMemberException.cs
- VariableBinder.cs
- NativeMethods.cs
- PropertyPushdownHelper.cs
- XmlSchemaDocumentation.cs
- HttpProcessUtility.cs
- SHA512Cng.cs
- DataAdapter.cs
- NamedElement.cs
- MarkerProperties.cs
- EventWaitHandle.cs
- BindableAttribute.cs
- ParameterCollection.cs
- BindingCompleteEventArgs.cs
- RepeaterItem.cs
- BitmapSource.cs
- Utility.cs
- StringInfo.cs
- EntityProviderFactory.cs
- XmlDocument.cs
- PageRequestManager.cs
- XmlSchemaException.cs
- Tile.cs
- UrlAuthFailedErrorFormatter.cs
- HierarchicalDataSourceControl.cs
- Variant.cs
- ILGenerator.cs
- FrameworkName.cs
- SmiRequestExecutor.cs