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
- AlternationConverter.cs
- Label.cs
- ContentFileHelper.cs
- WebPartZoneBase.cs
- OleDbConnection.cs
- StatusBarDesigner.cs
- TextTreeInsertElementUndoUnit.cs
- DragEventArgs.cs
- GenerateHelper.cs
- OdbcParameterCollection.cs
- CounterSample.cs
- FloaterParaClient.cs
- unsafenativemethodstextservices.cs
- IpcServerChannel.cs
- SqlFlattener.cs
- WeakHashtable.cs
- SiteMapProvider.cs
- MethodCallExpression.cs
- InfocardClientCredentials.cs
- MD5.cs
- ActivityExecutionFilter.cs
- SpanIndex.cs
- DrawingContextDrawingContextWalker.cs
- _DynamicWinsockMethods.cs
- ZipIOCentralDirectoryBlock.cs
- RequiredAttributeAttribute.cs
- PrinterUnitConvert.cs
- WsatConfiguration.cs
- DescendentsWalker.cs
- TextContainerChangeEventArgs.cs
- OdbcFactory.cs
- ConfigurationSectionGroupCollection.cs
- BoundPropertyEntry.cs
- ListControl.cs
- Comparer.cs
- WorkflowOperationBehavior.cs
- TrustDriver.cs
- ReferencedAssembly.cs
- QuaternionAnimation.cs
- HtmlListAdapter.cs
- ScrollChrome.cs
- RequestCacheValidator.cs
- RecordManager.cs
- InstanceDescriptor.cs
- InteropBitmapSource.cs
- ZipIOExtraFieldZip64Element.cs
- TypeToTreeConverter.cs
- CacheForPrimitiveTypes.cs
- DrawListViewSubItemEventArgs.cs
- PreloadedPackages.cs
- DragStartedEventArgs.cs
- XmlRawWriterWrapper.cs
- xmlsaver.cs
- WebPartConnectionsEventArgs.cs
- TextSyndicationContent.cs
- translator.cs
- ProcessHostConfigUtils.cs
- VisualBrush.cs
- XmlAttributeOverrides.cs
- FixedPageStructure.cs
- MetadataSet.cs
- Reference.cs
- XmlSchemaSequence.cs
- DocumentsTrace.cs
- FixedFlowMap.cs
- MtomMessageEncodingBindingElement.cs
- DataTableExtensions.cs
- BinaryReader.cs
- Attributes.cs
- FocusManager.cs
- ServerIdentity.cs
- SamlConditions.cs
- ShaderEffect.cs
- EventRouteFactory.cs
- TemplateBindingExtension.cs
- RestClientProxyHandler.cs
- PathTooLongException.cs
- SingleConverter.cs
- LinqDataSourceEditData.cs
- WebSysDisplayNameAttribute.cs
- SolidColorBrush.cs
- Pair.cs
- TypeResolver.cs
- RuntimeArgument.cs
- Rect3D.cs
- ToolStripManager.cs
- XamlPoint3DCollectionSerializer.cs
- DataProtection.cs
- DataBoundControl.cs
- GrammarBuilderRuleRef.cs
- Opcode.cs
- ComponentResourceKey.cs
- PerspectiveCamera.cs
- SqlParameter.cs
- DataRow.cs
- CommonXSendMessage.cs
- Stylesheet.cs
- ApplyHostConfigurationBehavior.cs
- AdjustableArrowCap.cs
- SizeValueSerializer.cs