Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleContentRestriction.cs / 1 / 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
- ListViewInsertedEventArgs.cs
- ClientCultureInfo.cs
- CachingHintValidation.cs
- EnlistmentState.cs
- OdbcFactory.cs
- FixUpCollection.cs
- PartitionedDataSource.cs
- WebPartPersonalization.cs
- CollectionEditVerbManager.cs
- HtmlWindow.cs
- EmptyCollection.cs
- SourceSwitch.cs
- SignatureToken.cs
- XmlConvert.cs
- RectKeyFrameCollection.cs
- ActiveXContainer.cs
- MarkupWriter.cs
- BookmarkUndoUnit.cs
- PropertyEmitter.cs
- MenuItemStyleCollection.cs
- WebPartsSection.cs
- DbConnectionStringCommon.cs
- TransformerConfigurationWizardBase.cs
- PrintPreviewControl.cs
- ExtentKey.cs
- CodeSnippetExpression.cs
- TextRunProperties.cs
- CodeConstructor.cs
- securitymgrsite.cs
- StyleSheetRefUrlEditor.cs
- EntryWrittenEventArgs.cs
- UpdateCommand.cs
- FlowDocumentReader.cs
- UntypedNullExpression.cs
- AnimationClock.cs
- PropertyDescriptorComparer.cs
- SpotLight.cs
- WeakEventTable.cs
- MessageLoggingFilterTraceRecord.cs
- DataObjectSettingDataEventArgs.cs
- BaseAsyncResult.cs
- WsdlBuildProvider.cs
- ISAPIRuntime.cs
- ChangesetResponse.cs
- StartUpEventArgs.cs
- CustomGrammar.cs
- Binding.cs
- HttpConfigurationContext.cs
- Win32.cs
- Stackframe.cs
- GridViewSelectEventArgs.cs
- TraceSwitch.cs
- arabicshape.cs
- TypeName.cs
- StorageSetMapping.cs
- IResourceProvider.cs
- ListViewSelectEventArgs.cs
- MessageDesigner.cs
- BinaryMethodMessage.cs
- HiddenFieldPageStatePersister.cs
- ToolStripSettings.cs
- BoolExpression.cs
- GZipObjectSerializer.cs
- TreeNodeCollection.cs
- StaticResourceExtension.cs
- BevelBitmapEffect.cs
- JsonReader.cs
- NullableBoolConverter.cs
- Parameter.cs
- ETagAttribute.cs
- ValueExpressions.cs
- WsatStrings.cs
- InputChannelAcceptor.cs
- cache.cs
- TextBoxAutoCompleteSourceConverter.cs
- RequestDescription.cs
- SQLSingle.cs
- StrokeNode.cs
- HostedBindingBehavior.cs
- CodeNamespaceImportCollection.cs
- ValidatingPropertiesEventArgs.cs
- RoutedEvent.cs
- DataGridViewLinkColumn.cs
- StateItem.cs
- ListSortDescriptionCollection.cs
- Column.cs
- SerializationObjectManager.cs
- Utility.cs
- SqlDataReader.cs
- HttpValueCollection.cs
- Version.cs
- XmlElementList.cs
- EpmTargetPathSegment.cs
- InkPresenter.cs
- SerializationFieldInfo.cs
- InfoCardClaim.cs
- AmbientEnvironment.cs
- XsltSettings.cs
- COM2ExtendedUITypeEditor.cs
- ServiceSecurityAuditBehavior.cs