Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleContentRestriction.cs / 1 / XmlSchemaSimpleContentRestriction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleContentRestriction : XmlSchemaContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection(); XmlSchemaAnyAttribute anyAttribute; ///[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; } } ///[To be supplied.] ////// /// [XmlElement("attribute", typeof(XmlSchemaAttribute)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] public XmlSchemaObjectCollection Attributes { get { return attributes; } } ///[To be supplied.] ////// /// [XmlElement("anyAttribute")] public XmlSchemaAnyAttribute AnyAttribute { get { return anyAttribute; } set { anyAttribute = value; } } internal void SetAttributes(XmlSchemaObjectCollection newAttributes) { attributes = newAttributes; } } } // 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.Xml.Serialization; ////// /// public class XmlSchemaSimpleContentRestriction : XmlSchemaContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection(); XmlSchemaAnyAttribute anyAttribute; ///[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; } } ///[To be supplied.] ////// /// [XmlElement("attribute", typeof(XmlSchemaAttribute)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] public XmlSchemaObjectCollection Attributes { get { return attributes; } } ///[To be supplied.] ////// /// [XmlElement("anyAttribute")] public XmlSchemaAnyAttribute AnyAttribute { get { return anyAttribute; } set { anyAttribute = value; } } internal void SetAttributes(XmlSchemaObjectCollection newAttributes) { attributes = newAttributes; } } } // 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
- ClonableStack.cs
- DiscoveryMessageSequenceCD1.cs
- ChtmlSelectionListAdapter.cs
- TreeWalker.cs
- UrlMappingsSection.cs
- FontStyle.cs
- ChannelOptions.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SkipStoryboardToFill.cs
- PropertyMap.cs
- DataGridItemEventArgs.cs
- PageClientProxyGenerator.cs
- precedingquery.cs
- SmiGettersStream.cs
- CopyAttributesAction.cs
- AdministrationHelpers.cs
- ErrorLog.cs
- GraphicsPath.cs
- TimeSpan.cs
- LocalizedNameDescriptionPair.cs
- VideoDrawing.cs
- CheckPair.cs
- StreamGeometry.cs
- SafeSecurityHandles.cs
- MouseEventArgs.cs
- AuthStoreRoleProvider.cs
- AppSettings.cs
- InfocardInteractiveChannelInitializer.cs
- StringArrayConverter.cs
- UnknownExceptionActionHelper.cs
- XmlDataImplementation.cs
- TransformValueSerializer.cs
- X509Extension.cs
- DataGridViewAccessibleObject.cs
- ObjectItemLoadingSessionData.cs
- DirectionalLight.cs
- TextReturnReader.cs
- LocalizationParserHooks.cs
- DataGridItemEventArgs.cs
- SystemKeyConverter.cs
- SessionParameter.cs
- NumberFormatInfo.cs
- BitmapCache.cs
- recordstatescratchpad.cs
- DataGridViewSelectedCellCollection.cs
- TrackBarRenderer.cs
- UnhandledExceptionEventArgs.cs
- SafeNativeMethods.cs
- CommandBindingCollection.cs
- UnsafeNativeMethods.cs
- SelectingProviderEventArgs.cs
- AssemblyCollection.cs
- XmlConvert.cs
- MeasurementDCInfo.cs
- ClientSettingsProvider.cs
- AccessDataSourceView.cs
- DataGridViewCellEventArgs.cs
- RootDesignerSerializerAttribute.cs
- DiscoveryVersionConverter.cs
- EditorPartCollection.cs
- DCSafeHandle.cs
- RequestQueue.cs
- ImpersonateTokenRef.cs
- BlurBitmapEffect.cs
- ButtonDesigner.cs
- FontConverter.cs
- LZCodec.cs
- SendingRequestEventArgs.cs
- XpsS0ValidatingLoader.cs
- AddInAdapter.cs
- RowsCopiedEventArgs.cs
- BuildProvider.cs
- KeyboardNavigation.cs
- ObjectIDGenerator.cs
- WebPartPersonalization.cs
- GacUtil.cs
- ToolStripEditorManager.cs
- Coordinator.cs
- AlternationConverter.cs
- XPathSingletonIterator.cs
- SessionState.cs
- ZipIOModeEnforcingStream.cs
- MDIClient.cs
- AssemblyHash.cs
- SchemaImporterExtensionElement.cs
- ToolStripItemClickedEventArgs.cs
- SymmetricAlgorithm.cs
- ExpressionDumper.cs
- SendActivityValidator.cs
- EventLogRecord.cs
- IFormattable.cs
- MsdtcClusterUtils.cs
- XPathDocumentBuilder.cs
- _HelperAsyncResults.cs
- ResXResourceReader.cs
- BasicKeyConstraint.cs
- DataObjectAttribute.cs
- ContentFilePart.cs
- TypeUsageBuilder.cs
- Group.cs