Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleContentRestriction.cs / 1305376 / XmlSchemaSimpleContentRestriction.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Schema { using System.Xml.Serialization; ////// /// public class XmlSchemaSimpleContentRestriction : XmlSchemaContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection(); XmlSchemaAnyAttribute anyAttribute; ///[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; } } ///[To be supplied.] ////// /// [XmlElement("attribute", typeof(XmlSchemaAttribute)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] public XmlSchemaObjectCollection Attributes { get { return attributes; } } ///[To be supplied.] ////// /// [XmlElement("anyAttribute")] public XmlSchemaAnyAttribute AnyAttribute { get { return anyAttribute; } set { anyAttribute = value; } } internal void SetAttributes(XmlSchemaObjectCollection newAttributes) { attributes = newAttributes; } } } // 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.Xml.Serialization; ////// /// public class XmlSchemaSimpleContentRestriction : XmlSchemaContent { XmlQualifiedName baseTypeName = XmlQualifiedName.Empty; XmlSchemaSimpleType baseType; XmlSchemaObjectCollection facets = new XmlSchemaObjectCollection(); XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection(); XmlSchemaAnyAttribute anyAttribute; ///[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; } } ///[To be supplied.] ////// /// [XmlElement("attribute", typeof(XmlSchemaAttribute)), XmlElement("attributeGroup", typeof(XmlSchemaAttributeGroupRef))] public XmlSchemaObjectCollection Attributes { get { return attributes; } } ///[To be supplied.] ////// /// [XmlElement("anyAttribute")] public XmlSchemaAnyAttribute AnyAttribute { get { return anyAttribute; } set { anyAttribute = value; } } internal void SetAttributes(XmlSchemaObjectCollection newAttributes) { attributes = newAttributes; } } } // 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
- RegistryKey.cs
- GeneralTransform.cs
- SiteMapDataSourceView.cs
- DeflateStream.cs
- EntityModelSchemaGenerator.cs
- FileClassifier.cs
- SchemaTableColumn.cs
- EntryPointNotFoundException.cs
- TimeZone.cs
- SelectionProviderWrapper.cs
- StartUpEventArgs.cs
- XmlArrayItemAttribute.cs
- StructuralObject.cs
- ErrorProvider.cs
- GraphicsState.cs
- HyperLinkStyle.cs
- SpecialFolderEnumConverter.cs
- _SSPISessionCache.cs
- MSAAWinEventWrap.cs
- OrderByLifter.cs
- LineServicesCallbacks.cs
- ListBox.cs
- RowUpdatedEventArgs.cs
- FontConverter.cs
- StringUtil.cs
- StringFormat.cs
- TraceSection.cs
- ValidatingReaderNodeData.cs
- SpellerError.cs
- CommandEventArgs.cs
- UnicodeEncoding.cs
- ConstraintEnumerator.cs
- XPathSelfQuery.cs
- FilterUserControlBase.cs
- wgx_exports.cs
- ObjectDataSourceMethodEventArgs.cs
- HttpHandlersSection.cs
- ManipulationDevice.cs
- WSHttpBindingBaseElement.cs
- ListenerConfig.cs
- ByeOperation11AsyncResult.cs
- RuleSettings.cs
- ToolStripContentPanelRenderEventArgs.cs
- ToolStripSeparatorRenderEventArgs.cs
- SerializationSectionGroup.cs
- FrameworkObject.cs
- ExpressionNode.cs
- EventWaitHandle.cs
- AppearanceEditorPart.cs
- HttpServerVarsCollection.cs
- DetailsViewCommandEventArgs.cs
- COMException.cs
- XdrBuilder.cs
- VectorAnimationUsingKeyFrames.cs
- WizardPanelChangingEventArgs.cs
- LongMinMaxAggregationOperator.cs
- DisposableCollectionWrapper.cs
- BamlRecordReader.cs
- CustomError.cs
- OleAutBinder.cs
- StoryFragments.cs
- HttpMethodConstraint.cs
- SharedMemory.cs
- HttpModuleAction.cs
- CodeDelegateCreateExpression.cs
- DesignerTextWriter.cs
- ControlType.cs
- GridViewRowPresenter.cs
- JsonEnumDataContract.cs
- DesignerSelectionListAdapter.cs
- _ChunkParse.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- EntityViewGenerationAttribute.cs
- DataFormats.cs
- XMLUtil.cs
- LinqDataSource.cs
- LayoutEditorPart.cs
- DependencySource.cs
- HelloMessageCD1.cs
- XXXOnTypeBuilderInstantiation.cs
- dtdvalidator.cs
- StackOverflowException.cs
- StickyNoteContentControl.cs
- RootBrowserWindowProxy.cs
- RuleRefElement.cs
- FixedLineResult.cs
- UserControlBuildProvider.cs
- ProviderSettingsCollection.cs
- CodeNamespace.cs
- TextDecoration.cs
- Identity.cs
- LinqToSqlWrapper.cs
- TransformConverter.cs
- UnsafeNativeMethods.cs
- CatalogZone.cs
- CodePageEncoding.cs
- QilName.cs
- _ConnectStream.cs
- CopyOfAction.cs
- CompilerTypeWithParams.cs