Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- CustomPopupPlacement.cs
- ByteKeyFrameCollection.cs
- MessageHeaderDescription.cs
- ComponentResourceKeyConverter.cs
- InputDevice.cs
- entityreference_tresulttype.cs
- ContentWrapperAttribute.cs
- Span.cs
- DrawingDrawingContext.cs
- ComponentDispatcher.cs
- AmbientValueAttribute.cs
- TypedReference.cs
- PasswordTextContainer.cs
- StylusPointPropertyUnit.cs
- MoveSizeWinEventHandler.cs
- ToolTipService.cs
- AttributeSetAction.cs
- DefaultValidator.cs
- DynamicMetaObject.cs
- BlobPersonalizationState.cs
- LinqDataSourceInsertEventArgs.cs
- DispatcherOperation.cs
- InstanceCreationEditor.cs
- SafeHandles.cs
- UInt64Converter.cs
- Membership.cs
- XmlSchemaDocumentation.cs
- TraceHwndHost.cs
- Button.cs
- SubstitutionList.cs
- Size3D.cs
- PathFigureCollection.cs
- XPathSelfQuery.cs
- StateDesigner.CommentLayoutGlyph.cs
- CryptoHandle.cs
- PopOutPanel.cs
- sqlnorm.cs
- DefaultPropertiesToSend.cs
- CultureSpecificStringDictionary.cs
- XmlUTF8TextWriter.cs
- Wildcard.cs
- ClientSection.cs
- AsymmetricSignatureFormatter.cs
- ColorConvertedBitmap.cs
- BuildManager.cs
- DescendantBaseQuery.cs
- ChangePassword.cs
- ToggleProviderWrapper.cs
- LocatorBase.cs
- RequestContextBase.cs
- XmlBufferReader.cs
- PrintPreviewDialog.cs
- AddingNewEventArgs.cs
- UpdateTracker.cs
- FocusChangedEventArgs.cs
- ArrayItemValue.cs
- PackageRelationshipCollection.cs
- securestring.cs
- IfAction.cs
- RenamedEventArgs.cs
- AuthenticationManager.cs
- XmlSchemaSimpleTypeUnion.cs
- SQLUtility.cs
- GridViewDeletedEventArgs.cs
- WindowInteropHelper.cs
- HttpConfigurationSystem.cs
- ChineseLunisolarCalendar.cs
- ListViewDataItem.cs
- HttpModuleAction.cs
- ThemeInfoAttribute.cs
- WorkflowApplicationException.cs
- XmlComment.cs
- HybridObjectCache.cs
- Exceptions.cs
- OracleString.cs
- SeparatorAutomationPeer.cs
- CategoryAttribute.cs
- IndexingContentUnit.cs
- TopClause.cs
- HashRepartitionEnumerator.cs
- ImmComposition.cs
- DiscardableAttribute.cs
- Knowncolors.cs
- RectAnimation.cs
- LinkClickEvent.cs
- ButtonBaseAutomationPeer.cs
- ImageButton.cs
- CodeIndexerExpression.cs
- ListSortDescriptionCollection.cs
- TemplateInstanceAttribute.cs
- XmlWriterSettings.cs
- CurrentChangingEventArgs.cs
- SymLanguageType.cs
- Native.cs
- ToolStripDropTargetManager.cs
- ShutDownListener.cs
- XPathExpr.cs
- ClientScriptManagerWrapper.cs
- BrushConverter.cs
- TransformerConfigurationWizardBase.cs