Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleContentRestriction.cs / 1305376 / 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
- ImageListStreamer.cs
- HttpCacheVary.cs
- BmpBitmapDecoder.cs
- PageClientProxyGenerator.cs
- Vector3DValueSerializer.cs
- DecimalConstantAttribute.cs
- SynchronizationContext.cs
- Image.cs
- UniqueSet.cs
- ParallelTimeline.cs
- Configuration.cs
- Control.cs
- MdiWindowListItemConverter.cs
- HebrewNumber.cs
- SynchronizedInputHelper.cs
- SpecialFolderEnumConverter.cs
- GeneralTransform3D.cs
- ObjectViewQueryResultData.cs
- PostBackOptions.cs
- XPathNodeList.cs
- lengthconverter.cs
- SecurityUtils.cs
- TypefaceMap.cs
- TcpServerChannel.cs
- EditorZoneDesigner.cs
- KnownTypeAttribute.cs
- AttachedAnnotationChangedEventArgs.cs
- DataBindingExpressionBuilder.cs
- FontSource.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- Version.cs
- _HTTPDateParse.cs
- SelectionProcessor.cs
- HtmlHistory.cs
- IsolatedStorageFile.cs
- MsmqInputSessionChannel.cs
- FamilyMapCollection.cs
- WorkflowItemPresenter.cs
- DataStorage.cs
- RequestChannelBinder.cs
- ToolStrip.cs
- WindowsMenu.cs
- CssTextWriter.cs
- ContentDefinition.cs
- ChineseLunisolarCalendar.cs
- Authorization.cs
- RowType.cs
- SmiEventSink_DeferedProcessing.cs
- SmuggledIUnknown.cs
- safex509handles.cs
- Stream.cs
- SpecialTypeDataContract.cs
- Rfc2898DeriveBytes.cs
- GeometryValueSerializer.cs
- OverrideMode.cs
- ServiceOperation.cs
- RepeatInfo.cs
- ColumnReorderedEventArgs.cs
- SplineKeyFrames.cs
- Util.cs
- TraceInternal.cs
- NotImplementedException.cs
- CompiledELinqQueryState.cs
- UnsafeNativeMethods.cs
- CorrelationTokenInvalidatedHandler.cs
- RoleGroupCollection.cs
- NoClickablePointException.cs
- ServiceDurableInstanceContextProvider.cs
- LinqDataSource.cs
- ValidatorCollection.cs
- RsaSecurityToken.cs
- ScriptReference.cs
- HtmlControl.cs
- ButtonStandardAdapter.cs
- DesignerTransaction.cs
- Activation.cs
- RequiredFieldValidator.cs
- PageAdapter.cs
- DtdParser.cs
- XhtmlConformanceSection.cs
- SortedDictionary.cs
- ToolStripItemClickedEventArgs.cs
- LOSFormatter.cs
- SimpleMailWebEventProvider.cs
- XPathAncestorIterator.cs
- EventLogPermissionAttribute.cs
- ProcessStartInfo.cs
- MarkupObject.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- HtmlElementCollection.cs
- DecimalConstantAttribute.cs
- ManagementException.cs
- SuppressIldasmAttribute.cs
- WaitHandleCannotBeOpenedException.cs
- UserMapPath.cs
- RoutedEventArgs.cs
- CLRBindingWorker.cs
- ContentControl.cs
- RemoveStoryboard.cs
- EntityExpressionVisitor.cs