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
- ConfigurationManagerHelperFactory.cs
- SizeAnimationBase.cs
- StylusTouchDevice.cs
- SelectionWordBreaker.cs
- TracingConnectionInitiator.cs
- VectorCollectionValueSerializer.cs
- WsdlServiceChannelBuilder.cs
- StylusCaptureWithinProperty.cs
- WmlValidationSummaryAdapter.cs
- FixUpCollection.cs
- PeerDefaultCustomResolverClient.cs
- IndexedString.cs
- HttpHandlersSection.cs
- EdmScalarPropertyAttribute.cs
- HostedElements.cs
- BaseCAMarshaler.cs
- SystemColors.cs
- ConstraintStruct.cs
- _OverlappedAsyncResult.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- GridItemCollection.cs
- XslNumber.cs
- XmlILModule.cs
- ImageCollectionCodeDomSerializer.cs
- CollectionContainer.cs
- ImageMetadata.cs
- ModifyActivitiesPropertyDescriptor.cs
- Hyperlink.cs
- TCPListener.cs
- DropDownList.cs
- HttpConfigurationSystem.cs
- Operators.cs
- ConstNode.cs
- _TransmitFileOverlappedAsyncResult.cs
- EncryptedXml.cs
- EncoderBestFitFallback.cs
- RolePrincipal.cs
- CodeTypeParameterCollection.cs
- PlatformNotSupportedException.cs
- DataGridViewCellValueEventArgs.cs
- HostingEnvironmentException.cs
- Avt.cs
- ContextMenuService.cs
- GridViewColumn.cs
- Command.cs
- LinkArea.cs
- Types.cs
- HostedTransportConfigurationBase.cs
- RealizationDrawingContextWalker.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- KeyInterop.cs
- DeclarativeCatalogPart.cs
- DefaultAsyncDataDispatcher.cs
- TokenFactoryFactory.cs
- WSFederationHttpSecurityMode.cs
- CultureTable.cs
- ExtensionSurface.cs
- TransformerTypeCollection.cs
- UriTemplatePathSegment.cs
- PresentationSource.cs
- ClientSponsor.cs
- ReadWriteObjectLock.cs
- ColorMatrix.cs
- DocumentGridPage.cs
- TextSpanModifier.cs
- CategoryNameCollection.cs
- RequiredFieldValidator.cs
- ServiceTimeoutsElement.cs
- ViewKeyConstraint.cs
- CompiledRegexRunnerFactory.cs
- XmlSchemaException.cs
- SelectionWordBreaker.cs
- StateMachineWorkflowInstance.cs
- AppearanceEditorPart.cs
- FormatControl.cs
- UnSafeCharBuffer.cs
- FigureParaClient.cs
- ContentPropertyAttribute.cs
- ProcessThread.cs
- ValueTypeFixupInfo.cs
- PartialToken.cs
- LifetimeMonitor.cs
- DynamicFilterExpression.cs
- ClientEventManager.cs
- ArrangedElementCollection.cs
- HTTPNotFoundHandler.cs
- ProfilePropertySettingsCollection.cs
- DynamicMetaObject.cs
- RC2CryptoServiceProvider.cs
- SourceSwitch.cs
- BitStack.cs
- __Filters.cs
- Pen.cs
- SolidColorBrush.cs
- HtmlEncodedRawTextWriter.cs
- SafeRightsManagementQueryHandle.cs
- DocumentsTrace.cs
- BooleanConverter.cs
- DataGridViewSelectedCellCollection.cs
- SafeRegistryHandle.cs