Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MessageQueuePermissionAttribute.cs
- ResourceExpressionBuilder.cs
- InboundActivityHelper.cs
- AssociationSetEnd.cs
- MemberCollection.cs
- ProcessProtocolHandler.cs
- GridLength.cs
- Interlocked.cs
- StaticFileHandler.cs
- TypeDescriptionProvider.cs
- Literal.cs
- OletxVolatileEnlistment.cs
- CuspData.cs
- GenericTypeParameterBuilder.cs
- TableItemStyle.cs
- Serialization.cs
- TextParagraphCache.cs
- Codec.cs
- QueryStringParameter.cs
- Binding.cs
- MouseActionConverter.cs
- Comparer.cs
- wmiutil.cs
- XmlReflectionMember.cs
- XPathDocumentIterator.cs
- MessageQueuePermissionEntryCollection.cs
- ReadOnlyMetadataCollection.cs
- DocComment.cs
- ManagedWndProcTracker.cs
- ParserContext.cs
- Variant.cs
- CompilerError.cs
- ExtensionCollection.cs
- EntityViewGenerationAttribute.cs
- _ShellExpression.cs
- MetadataSource.cs
- Library.cs
- MapPathBasedVirtualPathProvider.cs
- DocumentSequenceHighlightLayer.cs
- EncryptedKey.cs
- HtmlInputPassword.cs
- WebPartsPersonalizationAuthorization.cs
- MessageSmuggler.cs
- ExpressionList.cs
- DispatcherOperation.cs
- WinInetCache.cs
- Attributes.cs
- XmlMapping.cs
- ExpressionNormalizer.cs
- ConfigXmlComment.cs
- OutputCacheProfile.cs
- CodeChecksumPragma.cs
- RegistryConfigurationProvider.cs
- ActivitySurrogateSelector.cs
- ProjectionPlan.cs
- RC2.cs
- FreezableOperations.cs
- Mappings.cs
- ExternalFile.cs
- CrossAppDomainChannel.cs
- UpdateTracker.cs
- IsolatedStorageFilePermission.cs
- StateInitializationDesigner.cs
- RootCodeDomSerializer.cs
- ReplyChannel.cs
- HwndSubclass.cs
- ExpressionConverter.cs
- CustomBindingCollectionElement.cs
- ItemCheckEvent.cs
- DataGridViewTopRowAccessibleObject.cs
- JsonDataContract.cs
- TransferMode.cs
- ComplexLine.cs
- TableItemPatternIdentifiers.cs
- Resources.Designer.cs
- NonParentingControl.cs
- LineBreakRecord.cs
- InfoCardKeyedHashAlgorithm.cs
- DataBindingCollection.cs
- ManipulationInertiaStartingEventArgs.cs
- DataGridTextBox.cs
- SelectionHighlightInfo.cs
- SettingsPropertyCollection.cs
- RequestQueue.cs
- MulticastIPAddressInformationCollection.cs
- FontFamilyConverter.cs
- DriveNotFoundException.cs
- SystemIPInterfaceStatistics.cs
- Constraint.cs
- ByteAnimationBase.cs
- DetailsViewPagerRow.cs
- EnlistmentState.cs
- X509ImageLogo.cs
- RoleGroupCollection.cs
- OperatingSystem.cs
- CodeAttributeArgument.cs
- SchemaTypeEmitter.cs
- EntityDesignerUtils.cs
- TypeDescriptor.cs
- _SslSessionsCache.cs