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
- MemoryStream.cs
- CustomValidator.cs
- StylusPointPropertyId.cs
- MainMenu.cs
- HostingEnvironmentSection.cs
- PassportIdentity.cs
- Dictionary.cs
- XmlCompatibilityReader.cs
- WinEventWrap.cs
- FormatStringEditor.cs
- DiscriminatorMap.cs
- ElementInit.cs
- RadioButtonAutomationPeer.cs
- VirtualizingStackPanel.cs
- RemoveStoryboard.cs
- XmlSerializationReader.cs
- DataGridViewAddColumnDialog.cs
- OdbcStatementHandle.cs
- ArrayWithOffset.cs
- safemediahandle.cs
- Overlapped.cs
- GenericUriParser.cs
- SevenBitStream.cs
- mediaeventshelper.cs
- XmlObjectSerializer.cs
- _NTAuthentication.cs
- DetailsViewDeleteEventArgs.cs
- LabelLiteral.cs
- XMLUtil.cs
- LinkClickEvent.cs
- TableTextElementCollectionInternal.cs
- XmlSchemaExternal.cs
- ThreadExceptionEvent.cs
- DockProviderWrapper.cs
- HttpWrapper.cs
- FontNamesConverter.cs
- SqlFormatter.cs
- EntityParameterCollection.cs
- HttpWriter.cs
- DataGridViewCellCancelEventArgs.cs
- XslTransform.cs
- StateWorkerRequest.cs
- SafeNativeMethods.cs
- TreeNodeConverter.cs
- ModelServiceImpl.cs
- ToolStripDropDown.cs
- PrintPageEvent.cs
- EntityDataSourceDesigner.cs
- WsdlBuildProvider.cs
- DoubleAnimationUsingKeyFrames.cs
- odbcmetadatacollectionnames.cs
- AdvancedBindingPropertyDescriptor.cs
- BufferCache.cs
- Completion.cs
- ADMembershipProvider.cs
- CodeAttributeArgumentCollection.cs
- WebPartCatalogAddVerb.cs
- AnimationClockResource.cs
- MailBnfHelper.cs
- WebPartAuthorizationEventArgs.cs
- GridViewRow.cs
- EventArgs.cs
- updateconfighost.cs
- SiteMapNodeCollection.cs
- Message.cs
- WebServiceMethodData.cs
- AlphabetConverter.cs
- safemediahandle.cs
- UnsafePeerToPeerMethods.cs
- FontConverter.cs
- LocalValueEnumerator.cs
- PartialTrustVisibleAssembly.cs
- BindingMemberInfo.cs
- EncoderParameter.cs
- TextMetrics.cs
- NotFiniteNumberException.cs
- StringOutput.cs
- ReferencedCollectionType.cs
- PageRequestManager.cs
- CodeFieldReferenceExpression.cs
- VirtualPathProvider.cs
- ScriptingJsonSerializationSection.cs
- MimeWriter.cs
- SynchronizedPool.cs
- TabItem.cs
- SafeUserTokenHandle.cs
- XmlFileEditor.cs
- StatusBarAutomationPeer.cs
- RectangleGeometry.cs
- DataTableTypeConverter.cs
- HttpFileCollection.cs
- DataMisalignedException.cs
- WindowInteractionStateTracker.cs
- PerformanceCounterPermissionEntry.cs
- BulletChrome.cs
- WindowsListViewGroupHelper.cs
- NavigatingCancelEventArgs.cs
- Misc.cs
- DataGridTableCollection.cs
- LocalizedNameDescriptionPair.cs