Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EventTask.cs
- DocumentsTrace.cs
- AssociationSetEnd.cs
- NavigatorOutput.cs
- CqlParser.cs
- XmlSchemaType.cs
- DataGridRowHeaderAutomationPeer.cs
- TextDecorationCollection.cs
- ControlBuilder.cs
- InputGestureCollection.cs
- Label.cs
- CodeSnippetTypeMember.cs
- SystemWebSectionGroup.cs
- Stackframe.cs
- DayRenderEvent.cs
- PageThemeParser.cs
- OracleBFile.cs
- LineInfo.cs
- UndoManager.cs
- _SafeNetHandles.cs
- Vars.cs
- PointConverter.cs
- ZoneMembershipCondition.cs
- ControlParameter.cs
- DataSourceCacheDurationConverter.cs
- SamlSubjectStatement.cs
- TreeNodeBindingCollection.cs
- InvalidProgramException.cs
- AbstractDataSvcMapFileLoader.cs
- C14NUtil.cs
- HtmlInputText.cs
- WebPartConnectionCollection.cs
- ChannelSinkStacks.cs
- ColorAnimationUsingKeyFrames.cs
- MessageBox.cs
- CatalogZoneBase.cs
- Command.cs
- mil_commands.cs
- HtmlEncodedRawTextWriter.cs
- EventDescriptor.cs
- SmiContextFactory.cs
- wgx_commands.cs
- SymbolMethod.cs
- NewExpression.cs
- __TransparentProxy.cs
- Executor.cs
- NetworkStream.cs
- FilteredReadOnlyMetadataCollection.cs
- OdbcEnvironmentHandle.cs
- ApplicationServiceManager.cs
- AutomationIdentifier.cs
- RectAnimation.cs
- PointLight.cs
- ListBoxItem.cs
- StringArrayConverter.cs
- CommonDialog.cs
- NamespaceEmitter.cs
- FileInfo.cs
- StrokeCollection2.cs
- oledbmetadatacollectionnames.cs
- UnauthorizedAccessException.cs
- ManagementObject.cs
- WindowsRichEditRange.cs
- Publisher.cs
- DllHostInitializer.cs
- XPathException.cs
- BrowserCapabilitiesCodeGenerator.cs
- FormsAuthenticationEventArgs.cs
- UnsafeNativeMethods.cs
- TypeTypeConverter.cs
- DataTableExtensions.cs
- SpeechAudioFormatInfo.cs
- EncryptedPackageFilter.cs
- RegexMatch.cs
- XPathMessageFilterElementComparer.cs
- Main.cs
- DBCommandBuilder.cs
- uribuilder.cs
- DataServiceContext.cs
- XmlFormatMapping.cs
- ConfigXmlComment.cs
- wmiprovider.cs
- ZipArchive.cs
- SchemaInfo.cs
- IndexerNameAttribute.cs
- NumericUpDown.cs
- FastEncoderWindow.cs
- HttpErrorTraceRecord.cs
- FlowDocument.cs
- ColumnMapCopier.cs
- mediaeventargs.cs
- ActivityCollectionMarkupSerializer.cs
- HttpWebRequest.cs
- ExceptionUtility.cs
- CorePropertiesFilter.cs
- ScriptingWebServicesSectionGroup.cs
- HttpValueCollection.cs
- Binding.cs
- HMAC.cs
- Range.cs