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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SiteMapPath.cs
- OdbcInfoMessageEvent.cs
- DataGridViewCellCollection.cs
- FileDetails.cs
- ButtonBaseAdapter.cs
- CultureTable.cs
- BulletedList.cs
- HttpContext.cs
- TreeNodeCollectionEditorDialog.cs
- TCPClient.cs
- ImageMetadata.cs
- DescendantBaseQuery.cs
- SchemaNames.cs
- WinFormsComponentEditor.cs
- cookie.cs
- SignatureResourcePool.cs
- Debug.cs
- MessageQueuePermissionEntry.cs
- BindingMemberInfo.cs
- ProbeRequestResponseAsyncResult.cs
- DecoderBestFitFallback.cs
- httpserverutility.cs
- ACL.cs
- ResourceCategoryAttribute.cs
- TargetControlTypeAttribute.cs
- AuthenticatedStream.cs
- RuleDefinitions.cs
- SignedPkcs7.cs
- ExtenderProvidedPropertyAttribute.cs
- PageStatePersister.cs
- Range.cs
- SerializationSectionGroup.cs
- CodeTypeDeclarationCollection.cs
- RichTextBoxConstants.cs
- PolicyChain.cs
- GlobalDataBindingHandler.cs
- base64Transforms.cs
- Queue.cs
- DateTimeFormat.cs
- SortKey.cs
- PeerFlooder.cs
- BamlTreeUpdater.cs
- BitConverter.cs
- SqlBulkCopyColumnMappingCollection.cs
- ObjectDataProvider.cs
- TableParagraph.cs
- Matrix.cs
- ToolStripLabel.cs
- XmlMembersMapping.cs
- TableHeaderCell.cs
- Model3D.cs
- AdCreatedEventArgs.cs
- ScrollItemPatternIdentifiers.cs
- WinInetCache.cs
- SettingsPropertyNotFoundException.cs
- GenericWebPart.cs
- TypeLibraryHelper.cs
- LinkButton.cs
- RowType.cs
- linebase.cs
- HttpDictionary.cs
- StateMachineSubscription.cs
- StandardOleMarshalObject.cs
- AutoResizedEvent.cs
- IsolatedStorageFile.cs
- VScrollBar.cs
- WorkflowOperationBehavior.cs
- ConnectionInterfaceCollection.cs
- ErrorEventArgs.cs
- ThreadInterruptedException.cs
- HttpEncoder.cs
- SchemaCompiler.cs
- SerialStream.cs
- PrintDialog.cs
- bindurihelper.cs
- webeventbuffer.cs
- WeakReferenceList.cs
- HttpProcessUtility.cs
- SqlFunctionAttribute.cs
- BinaryKeyIdentifierClause.cs
- TypeExtensions.cs
- _HeaderInfoTable.cs
- DES.cs
- JoinTreeSlot.cs
- DefaultValidator.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- ExecutionContext.cs
- TextLineBreak.cs
- xmlNames.cs
- ScrollProviderWrapper.cs
- WaitHandle.cs
- ListBindingConverter.cs
- PointLight.cs
- OutputCacheEntry.cs
- DefaultSerializationProviderAttribute.cs
- EventLogPermission.cs
- TransformerTypeCollection.cs
- ThreadStateException.cs
- FixedBufferAttribute.cs
- LabelLiteral.cs