Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ColumnCollection.cs
- CodeAssignStatement.cs
- RequestNavigateEventArgs.cs
- SecurityTokenParametersEnumerable.cs
- ColumnWidthChangedEvent.cs
- DbExpressionVisitor_TResultType.cs
- DNS.cs
- ToolStripSplitStackLayout.cs
- MediaPlayerState.cs
- _TimerThread.cs
- ProgressBarBrushConverter.cs
- BindingOperations.cs
- TreeBuilderXamlTranslator.cs
- InfoCardPolicy.cs
- MonitoringDescriptionAttribute.cs
- DelayLoadType.cs
- ByteViewer.cs
- MD5.cs
- ColorBlend.cs
- LogReservationCollection.cs
- UserPreferenceChangedEventArgs.cs
- LineProperties.cs
- WebServiceErrorEvent.cs
- Int32Storage.cs
- SoapIgnoreAttribute.cs
- ClientFormsAuthenticationMembershipProvider.cs
- DiagnosticTrace.cs
- ServiceDescriptionSerializer.cs
- ObjectDataSourceDisposingEventArgs.cs
- EnumValidator.cs
- WindowsRegion.cs
- RegisteredDisposeScript.cs
- CodePrimitiveExpression.cs
- XamlSerializerUtil.cs
- TableDesigner.cs
- NullableDecimalMinMaxAggregationOperator.cs
- HttpDictionary.cs
- ListView.cs
- ExtensionMethods.cs
- _TimerThread.cs
- InvalidOleVariantTypeException.cs
- XmlSignatureManifest.cs
- FormViewCommandEventArgs.cs
- DecimalFormatter.cs
- XAMLParseException.cs
- ConfigsHelper.cs
- ImageField.cs
- FormsAuthenticationTicket.cs
- WindowAutomationPeer.cs
- TableLayoutCellPaintEventArgs.cs
- TerminatorSinks.cs
- ModelTreeManager.cs
- OleDbCommandBuilder.cs
- Types.cs
- SafeFileMapViewHandle.cs
- ListDictionaryInternal.cs
- Point3D.cs
- MemberInfoSerializationHolder.cs
- ExceptionHandlerDesigner.cs
- FormsAuthenticationUser.cs
- ImageButton.cs
- CheckBox.cs
- MD5Cng.cs
- BypassElement.cs
- ExpressionPrefixAttribute.cs
- PartialList.cs
- Authorization.cs
- FuncCompletionCallbackWrapper.cs
- IdentityModelStringsVersion1.cs
- DataServiceKeyAttribute.cs
- ProviderCommandInfoUtils.cs
- Visual3D.cs
- contentDescriptor.cs
- CollectionConverter.cs
- ExpandCollapseProviderWrapper.cs
- columnmapkeybuilder.cs
- infer.cs
- HitTestParameters.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- BitmapDecoder.cs
- ExpressionList.cs
- ImmutableObjectAttribute.cs
- SendMailErrorEventArgs.cs
- DataBindingExpressionBuilder.cs
- GroupItemAutomationPeer.cs
- SqlUnionizer.cs
- XmlNamespaceDeclarationsAttribute.cs
- BaseTemplateBuildProvider.cs
- CodeSnippetTypeMember.cs
- XmlObjectSerializerReadContextComplex.cs
- KeyBinding.cs
- COM2PropertyBuilderUITypeEditor.cs
- FixedTextView.cs
- EventListener.cs
- URI.cs
- Bitmap.cs
- Compress.cs
- WebFormsRootDesigner.cs
- DataGridCaption.cs
- PEFileEvidenceFactory.cs