Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- SecUtil.cs
- OperatingSystem.cs
- XpsS0ValidatingLoader.cs
- MailAddressCollection.cs
- Help.cs
- SiteMapNodeCollection.cs
- XPathSelfQuery.cs
- CollectionExtensions.cs
- DbDataRecord.cs
- TransportManager.cs
- Cursors.cs
- PopupEventArgs.cs
- WebPartTracker.cs
- CancellationTokenRegistration.cs
- BufferedReadStream.cs
- ProxyWebPart.cs
- AppDomainEvidenceFactory.cs
- XmlResolver.cs
- JsonDataContract.cs
- FileLoadException.cs
- DesignerHost.cs
- SafeProcessHandle.cs
- TreeNodeBindingCollection.cs
- TimerTable.cs
- ObsoleteAttribute.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- OdbcConnectionHandle.cs
- Transform3DGroup.cs
- ResourceDictionaryCollection.cs
- DesignTimeHTMLTextWriter.cs
- ListControl.cs
- DataGridCell.cs
- HtmlInputButton.cs
- MarshalByRefObject.cs
- PathFigureCollection.cs
- Function.cs
- TraceContext.cs
- BmpBitmapDecoder.cs
- PnrpPeerResolverBindingElement.cs
- Matrix.cs
- UIElementAutomationPeer.cs
- HttpHandler.cs
- CodeAccessSecurityEngine.cs
- FunctionOverloadResolver.cs
- FormView.cs
- FixedSOMContainer.cs
- Stroke2.cs
- Lasso.cs
- RsaSecurityToken.cs
- HttpCapabilitiesSectionHandler.cs
- ConnectionsZone.cs
- _ListenerResponseStream.cs
- XmlLoader.cs
- StdValidatorsAndConverters.cs
- ImageBrush.cs
- FieldNameLookup.cs
- TagPrefixInfo.cs
- SmtpCommands.cs
- OleStrCAMarshaler.cs
- ForeignKeyFactory.cs
- PipelineDeploymentState.cs
- Root.cs
- FontFaceLayoutInfo.cs
- AutoGeneratedField.cs
- ConnectionManagementSection.cs
- WebSysDisplayNameAttribute.cs
- FixedSOMImage.cs
- PropertyConverter.cs
- CatalogZone.cs
- ZipIOLocalFileHeader.cs
- SafeCoTaskMem.cs
- EditCommandColumn.cs
- _SSPIWrapper.cs
- MenuItemBinding.cs
- SecurityTokenException.cs
- CompilerParameters.cs
- WindowsGrip.cs
- TextEndOfParagraph.cs
- EventArgs.cs
- EndPoint.cs
- ApplicationActivator.cs
- TreeNodeStyleCollectionEditor.cs
- DodSequenceMerge.cs
- WasAdminWrapper.cs
- GeneralTransform3DGroup.cs
- ContextMenu.cs
- MetadataCache.cs
- UpdateDelegates.Generated.cs
- CodeDelegateInvokeExpression.cs
- ControlCollection.cs
- SemanticResultValue.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- MenuItemAutomationPeer.cs
- HwndHostAutomationPeer.cs
- CommandField.cs
- PropertiesTab.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- CodeArgumentReferenceExpression.cs
- XmlSerializerAssemblyAttribute.cs
- FormViewModeEventArgs.cs