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
- XAMLParseException.cs
- FixedDocumentSequencePaginator.cs
- ConversionContext.cs
- EmptyStringExpandableObjectConverter.cs
- List.cs
- InvalidComObjectException.cs
- DataGridViewDataConnection.cs
- VBIdentifierNameEditor.cs
- XmlAnyAttributeAttribute.cs
- SchemaImporterExtension.cs
- XmlCharacterData.cs
- SelectionRange.cs
- TracePayload.cs
- GridViewColumnCollection.cs
- DataServiceClientException.cs
- DecoderBestFitFallback.cs
- X509SubjectKeyIdentifierClause.cs
- WebControlParameterProxy.cs
- PropertyRef.cs
- TableAutomationPeer.cs
- CallTemplateAction.cs
- PolicyException.cs
- NumberFormatInfo.cs
- PropertyTabAttribute.cs
- SessionState.cs
- UniqueIdentifierService.cs
- FixedHyperLink.cs
- Soap12FormatExtensions.cs
- Glyph.cs
- ProtectedConfigurationSection.cs
- StorageEntityContainerMapping.cs
- XmlSchemaSet.cs
- SoundPlayer.cs
- BufferedReceiveManager.cs
- CodeDOMUtility.cs
- CounterSampleCalculator.cs
- SchemaConstraints.cs
- StyleCollection.cs
- _AutoWebProxyScriptHelper.cs
- StylusDownEventArgs.cs
- CodeAssignStatement.cs
- Timer.cs
- PaperSize.cs
- TerminatorSinks.cs
- MetadataItemEmitter.cs
- ErrorFormatterPage.cs
- XmlStreamStore.cs
- HtmlTextArea.cs
- RadioButton.cs
- Base64Encoder.cs
- PersistenceMetadataNamespace.cs
- Matrix.cs
- StylusPlugInCollection.cs
- ToolStripPanel.cs
- TemplateApplicationHelper.cs
- ToolStripScrollButton.cs
- ConnectionConsumerAttribute.cs
- TextDecorationUnitValidation.cs
- CryptoHandle.cs
- UnauthorizedWebPart.cs
- StylusButtonEventArgs.cs
- Canvas.cs
- DrawListViewItemEventArgs.cs
- ReadOnlyDictionary.cs
- StructuredTypeInfo.cs
- WebPartZone.cs
- SelectorItemAutomationPeer.cs
- CompilationSection.cs
- ScriptControl.cs
- MissingMemberException.cs
- ValidatingCollection.cs
- ServiceBusyException.cs
- FilteredXmlReader.cs
- Delay.cs
- ToolStripSplitStackLayout.cs
- XmlHierarchyData.cs
- AdornedElementPlaceholder.cs
- BulletedListEventArgs.cs
- ToolStripPanel.cs
- ArglessEventHandlerProxy.cs
- basecomparevalidator.cs
- SweepDirectionValidation.cs
- JournalEntry.cs
- SessionStateSection.cs
- DocumentApplicationJournalEntry.cs
- InputLanguageEventArgs.cs
- ArgumentException.cs
- MenuItem.cs
- _LoggingObject.cs
- Block.cs
- MSG.cs
- DocComment.cs
- RootBuilder.cs
- DataTemplateKey.cs
- Tag.cs
- JoinGraph.cs
- DirectoryInfo.cs
- Label.cs
- _ListenerRequestStream.cs
- PolicyException.cs