Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleTypeRestriction.cs / 1305376 / XmlSchemaSimpleTypeRestriction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleTypeRestriction : XmlSchemaSimpleTypeContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); ///[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; } } internal override XmlSchemaObject Clone() { XmlSchemaSimpleTypeRestriction newRestriction = (XmlSchemaSimpleTypeRestriction)MemberwiseClone(); newRestriction.BaseTypeName = baseTypeName.Clone(); return newRestriction; } } } // 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.Collections; using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleTypeRestriction : XmlSchemaSimpleTypeContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); ///[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; } } internal override XmlSchemaObject Clone() { XmlSchemaSimpleTypeRestriction newRestriction = (XmlSchemaSimpleTypeRestriction)MemberwiseClone(); newRestriction.BaseTypeName = baseTypeName.Clone(); return newRestriction; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- BuildProviderUtils.cs
- XPathCompileException.cs
- FormatConvertedBitmap.cs
- AssertValidation.cs
- XmlBinaryReaderSession.cs
- ProcessModelInfo.cs
- QueryContinueDragEventArgs.cs
- ConnectionManager.cs
- CopyCodeAction.cs
- BuildProvider.cs
- ObjectDataSourceFilteringEventArgs.cs
- Int32AnimationUsingKeyFrames.cs
- CustomSignedXml.cs
- Equal.cs
- CodeStatement.cs
- DecimalKeyFrameCollection.cs
- DesigntimeLicenseContextSerializer.cs
- SmiRecordBuffer.cs
- AncestorChangedEventArgs.cs
- ObjectQueryProvider.cs
- MergeLocalizationDirectives.cs
- ClientRuntimeConfig.cs
- ControlUtil.cs
- IItemContainerGenerator.cs
- PrintControllerWithStatusDialog.cs
- SoapServerMethod.cs
- PanelStyle.cs
- BeginEvent.cs
- ChangeInterceptorAttribute.cs
- PropertiesTab.cs
- RawStylusActions.cs
- WebException.cs
- ColumnResult.cs
- GenericQueueSurrogate.cs
- SHA512.cs
- DeclaredTypeElement.cs
- PermissionToken.cs
- EraserBehavior.cs
- RemoteDebugger.cs
- BuiltInExpr.cs
- FolderBrowserDialog.cs
- Wildcard.cs
- WebPartConnectionsConnectVerb.cs
- AudioLevelUpdatedEventArgs.cs
- HiddenFieldPageStatePersister.cs
- SerializationAttributes.cs
- CodeDirectionExpression.cs
- MatrixTransform3D.cs
- ProxyWebPartManager.cs
- TargetControlTypeAttribute.cs
- Logging.cs
- CollectionContainer.cs
- NumericExpr.cs
- RawKeyboardInputReport.cs
- CmsInterop.cs
- DesignerVerbToolStripMenuItem.cs
- DomainConstraint.cs
- HttpApplication.cs
- Calendar.cs
- KnownTypesHelper.cs
- FixedElement.cs
- JsonByteArrayDataContract.cs
- KnownColorTable.cs
- ColumnMapProcessor.cs
- ConsumerConnectionPoint.cs
- WebPartMovingEventArgs.cs
- ServiceNameCollection.cs
- ContentDefinition.cs
- TypeReference.cs
- RenderTargetBitmap.cs
- MailWriter.cs
- CatalogPartCollection.cs
- AccessDataSourceWizardForm.cs
- GeneratedView.cs
- hwndwrapper.cs
- AvTrace.cs
- ModelItemDictionaryImpl.cs
- CertificateReferenceElement.cs
- XmlSchemaDocumentation.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- StateMachineExecutionState.cs
- XsdCachingReader.cs
- ReadOnlyCollectionBase.cs
- SQLInt64.cs
- MachineKey.cs
- DodSequenceMerge.cs
- CellIdBoolean.cs
- Resources.Designer.cs
- HistoryEventArgs.cs
- IIS7UserPrincipal.cs
- CodeIdentifier.cs
- InternalConfigRoot.cs
- FrameworkElementFactoryMarkupObject.cs
- RtfControls.cs
- DataGridTextBox.cs
- ResourceReferenceKeyNotFoundException.cs
- DecimalConstantAttribute.cs
- DataGridTextColumn.cs
- HttpWrapper.cs
- Compress.cs