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
- Vector3DKeyFrameCollection.cs
- PageAdapter.cs
- JsonUriDataContract.cs
- MeasurementDCInfo.cs
- SourceLocation.cs
- StrokeIntersection.cs
- SqlDataSourceCache.cs
- ResourceAttributes.cs
- PocoPropertyAccessorStrategy.cs
- SchemaTypeEmitter.cs
- Calendar.cs
- XamlInterfaces.cs
- streamingZipPartStream.cs
- TdsParameterSetter.cs
- ErrorWebPart.cs
- AutomationPatternInfo.cs
- HiddenField.cs
- EntityDataSourceContextCreatingEventArgs.cs
- CommonDialog.cs
- ParentQuery.cs
- XmlSchemaExporter.cs
- DataGridColumnDropSeparator.cs
- MDIClient.cs
- smtppermission.cs
- DropShadowBitmapEffect.cs
- SyndicationSerializer.cs
- SetMemberBinder.cs
- SynchronizedPool.cs
- StandardOleMarshalObject.cs
- TimeSpanSecondsConverter.cs
- ModuleElement.cs
- EntityDataSourceDataSelectionPanel.cs
- KnownTypes.cs
- EventSourceCreationData.cs
- DiscoveryDocumentSerializer.cs
- DecoderBestFitFallback.cs
- WorkflowServiceOperationListItem.cs
- LOSFormatter.cs
- ChildTable.cs
- _OSSOCK.cs
- TimersDescriptionAttribute.cs
- XmlILOptimizerVisitor.cs
- SqlClientFactory.cs
- NamespaceExpr.cs
- ArraySortHelper.cs
- VersionValidator.cs
- ReferencedAssembly.cs
- ValidatorCollection.cs
- xmlformatgeneratorstatics.cs
- HttpCachePolicyBase.cs
- DateTimeFormatInfo.cs
- XmlValueConverter.cs
- RichTextBoxDesigner.cs
- ConnectionStringsExpressionBuilder.cs
- FieldMetadata.cs
- SystemMulticastIPAddressInformation.cs
- WindowsScrollBarBits.cs
- StandardCommands.cs
- Propagator.Evaluator.cs
- RedirectionProxy.cs
- LocationInfo.cs
- TrustManagerMoreInformation.cs
- SourceLineInfo.cs
- PeerInvitationResponse.cs
- CaretElement.cs
- WmlValidationSummaryAdapter.cs
- ResourceIDHelper.cs
- NavigationService.cs
- MultitargetUtil.cs
- StrokeRenderer.cs
- NameObjectCollectionBase.cs
- CodeAttributeArgumentCollection.cs
- SvcMapFileLoader.cs
- WizardStepBase.cs
- MappingSource.cs
- AutomationPattern.cs
- CompensationDesigner.cs
- SelectionPatternIdentifiers.cs
- EditorResources.cs
- AssemblyInfo.cs
- FrameworkRichTextComposition.cs
- DataSysAttribute.cs
- WindowsFormsSynchronizationContext.cs
- SharedPersonalizationStateInfo.cs
- TextOutput.cs
- Compiler.cs
- StrokeNodeData.cs
- SimpleMailWebEventProvider.cs
- CommandHelper.cs
- DataViewSetting.cs
- SmtpFailedRecipientException.cs
- SpeechSynthesizer.cs
- HttpConfigurationSystem.cs
- KeyNotFoundException.cs
- InvalidProgramException.cs
- TextBoxView.cs
- TextLine.cs
- XPathMultyIterator.cs
- ScriptManagerProxy.cs
- EnumerableRowCollection.cs