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 / XmlSchemaSimpleTypeRestriction.cs / 1 / 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorReporting.cs
- HttpResponseInternalWrapper.cs
- ObjectDataSourceEventArgs.cs
- VisualState.cs
- PrintPageEvent.cs
- DataList.cs
- CodeTypeConstructor.cs
- SystemIPAddressInformation.cs
- BaseParser.cs
- FormattedTextSymbols.cs
- RelationshipConstraintValidator.cs
- ExtendedProtectionPolicyElement.cs
- AssociationSetEnd.cs
- bindurihelper.cs
- DecimalFormatter.cs
- TextSelectionProcessor.cs
- LocatorManager.cs
- LogEntryHeaderDeserializer.cs
- DownloadProgressEventArgs.cs
- __FastResourceComparer.cs
- InlineObject.cs
- SchemaNotation.cs
- BooleanStorage.cs
- CqlIdentifiers.cs
- ObjectTag.cs
- ElasticEase.cs
- AdapterDictionary.cs
- VisualBasicSettingsHandler.cs
- SearchExpression.cs
- SudsCommon.cs
- EntityClientCacheKey.cs
- PingOptions.cs
- WorkflowRuntimeService.cs
- Content.cs
- X509CertificateChain.cs
- ExceptionHelpers.cs
- EditableTreeList.cs
- KnownBoxes.cs
- CFStream.cs
- ThemeDirectoryCompiler.cs
- HTTPRemotingHandler.cs
- BuildDependencySet.cs
- DefaultValueConverter.cs
- JoinTreeSlot.cs
- PermissionAttributes.cs
- CodeTypeReferenceCollection.cs
- SettingsSection.cs
- X509Certificate2Collection.cs
- SrgsNameValueTag.cs
- IpcChannelHelper.cs
- AbsoluteQuery.cs
- ToolStripLabel.cs
- SqlBulkCopy.cs
- ResponseStream.cs
- SQLDecimal.cs
- SqlParameterCollection.cs
- DtdParser.cs
- assemblycache.cs
- SectionInformation.cs
- DigitShape.cs
- _NegoStream.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DummyDataSource.cs
- SQLByteStorage.cs
- BamlLocalizableResourceKey.cs
- TreeViewImageIndexConverter.cs
- PermissionAttributes.cs
- SqlCacheDependencyDatabaseCollection.cs
- EntityFunctions.cs
- ExpandedWrapper.cs
- FeatureSupport.cs
- TrustSection.cs
- RemotingException.cs
- Faults.cs
- BrushValueSerializer.cs
- TableColumn.cs
- Tuple.cs
- LogicalChannel.cs
- SerializationInfo.cs
- AnnotationHelper.cs
- SerializationInfoEnumerator.cs
- CodeRegionDirective.cs
- JpegBitmapDecoder.cs
- VectorConverter.cs
- TryCatch.cs
- MouseEventArgs.cs
- Converter.cs
- CallbackValidator.cs
- EventMappingSettings.cs
- ResourcesBuildProvider.cs
- UrlPath.cs
- LiteralSubsegment.cs
- CodeTypeMemberCollection.cs
- COAUTHINFO.cs
- FontFaceLayoutInfo.cs
- DefaultTextStore.cs
- SiteMap.cs
- ErrorReporting.cs
- BookmarkEventArgs.cs
- COM2EnumConverter.cs