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
- LogicalCallContext.cs
- TextRange.cs
- CommonGetThemePartSize.cs
- DateTimeUtil.cs
- _ProxyChain.cs
- ColorConvertedBitmap.cs
- MulticastDelegate.cs
- UInt16.cs
- GeneralTransform3DCollection.cs
- MethodAccessException.cs
- EventTask.cs
- SchemaAttDef.cs
- ShapeTypeface.cs
- StatusBarItemAutomationPeer.cs
- ThemeDirectoryCompiler.cs
- BookmarkUndoUnit.cs
- RawStylusInputCustomDataList.cs
- Hex.cs
- HybridObjectCache.cs
- ValidationManager.cs
- ByteAnimation.cs
- BindingElementExtensionElement.cs
- AvTrace.cs
- UriTemplateLiteralPathSegment.cs
- DataSourceSerializationException.cs
- BezierSegment.cs
- OperationDescription.cs
- COM2PictureConverter.cs
- SharedPersonalizationStateInfo.cs
- XmlObjectSerializerReadContextComplex.cs
- Geometry3D.cs
- NonVisualControlAttribute.cs
- WindowsGraphics.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- RayMeshGeometry3DHitTestResult.cs
- AnonymousIdentificationModule.cs
- BaseCodePageEncoding.cs
- DocumentXPathNavigator.cs
- DispatcherProcessingDisabled.cs
- HorizontalAlignConverter.cs
- EntityDataSourceStatementEditorForm.cs
- HttpHandlerAction.cs
- ServiceDurableInstanceContextProvider.cs
- ProcessingInstructionAction.cs
- RelationshipEnd.cs
- CodeAccessPermission.cs
- WSFederationHttpSecurityMode.cs
- EntityContainerRelationshipSet.cs
- Parser.cs
- SendKeys.cs
- AnonymousIdentificationModule.cs
- RowUpdatingEventArgs.cs
- PrimitiveList.cs
- Item.cs
- OracleTimeSpan.cs
- ServiceHostingEnvironment.cs
- KeyInterop.cs
- securitycriticaldataClass.cs
- Run.cs
- HighContrastHelper.cs
- XmlDataSourceNodeDescriptor.cs
- ViewKeyConstraint.cs
- ToolStripLocationCancelEventArgs.cs
- StagingAreaInputItem.cs
- CommonDialog.cs
- DataControlFieldHeaderCell.cs
- MemberDomainMap.cs
- Journal.cs
- SystemColors.cs
- SmtpReplyReaderFactory.cs
- TableTextElementCollectionInternal.cs
- XmlNamespaceManager.cs
- MsdtcWrapper.cs
- _WinHttpWebProxyDataBuilder.cs
- Icon.cs
- HttpResponseBase.cs
- RemoteWebConfigurationHostStream.cs
- CacheHelper.cs
- VisualCollection.cs
- MaterialGroup.cs
- DbXmlEnabledProviderManifest.cs
- ClientSideProviderDescription.cs
- ListMarkerSourceInfo.cs
- MetadataImporter.cs
- FilteredXmlReader.cs
- CLRBindingWorker.cs
- login.cs
- FindRequestContext.cs
- PrimitiveDataContract.cs
- complextypematerializer.cs
- HandlerFactoryWrapper.cs
- DoubleAnimationClockResource.cs
- PlanCompilerUtil.cs
- WebPartCollection.cs
- Logging.cs
- RelativeSource.cs
- comcontractssection.cs
- TypeUnloadedException.cs
- InputGestureCollection.cs
- DispatcherFrame.cs