Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / schema / XmlSchemaSimpleContentExtension.cs / 1305376 / XmlSchemaSimpleContentExtension.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaSimpleContentExtension : XmlSchemaContent {
XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection();
XmlSchemaAnyAttribute anyAttribute;
XmlQualifiedName baseTypeName = XmlQualifiedName.Empty;
///
///
/// [To be supplied.]
///
[XmlAttribute("base")]
public XmlQualifiedName BaseTypeName {
get { return baseTypeName; }
set { baseTypeName = (value == null ? XmlQualifiedName.Empty : value); }
}
///
///
/// [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.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Schema {
using System.Xml.Serialization;
///
///
/// [To be supplied.]
///
public class XmlSchemaSimpleContentExtension : XmlSchemaContent {
XmlSchemaObjectCollection attributes = new XmlSchemaObjectCollection();
XmlSchemaAnyAttribute anyAttribute;
XmlQualifiedName baseTypeName = XmlQualifiedName.Empty;
///
///
/// [To be supplied.]
///
[XmlAttribute("base")]
public XmlQualifiedName BaseTypeName {
get { return baseTypeName; }
set { baseTypeName = (value == null ? XmlQualifiedName.Empty : value); }
}
///
///
/// [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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemKeyConverter.cs
- ImageSourceConverter.cs
- SafeNativeMethods.cs
- PeerTransportListenAddressValidatorAttribute.cs
- CapabilitiesUse.cs
- XsltArgumentList.cs
- ISO2022Encoding.cs
- DataGridViewColumn.cs
- SettingsContext.cs
- LiteralControl.cs
- TimerElapsedEvenArgs.cs
- FontCacheUtil.cs
- HttpCapabilitiesEvaluator.cs
- FaultDesigner.cs
- DependencyObjectProvider.cs
- XpsStructure.cs
- CodeDOMProvider.cs
- GeneralTransform3DTo2D.cs
- ToolStripButton.cs
- SqlDataSourceView.cs
- Stack.cs
- XmlReturnReader.cs
- SqlRetyper.cs
- XMLSchema.cs
- ClientSideProviderDescription.cs
- RelationshipEnd.cs
- SqlXml.cs
- safemediahandle.cs
- PageWrapper.cs
- WebHeaderCollection.cs
- tooltip.cs
- DataTable.cs
- SequenceDesigner.cs
- QilInvoke.cs
- SpecialNameAttribute.cs
- DiagnosticTrace.cs
- ObjectDataProvider.cs
- ObjectNavigationPropertyMapping.cs
- CompilerWrapper.cs
- CatalogPart.cs
- VersionedStream.cs
- ToolboxItem.cs
- RouteParametersHelper.cs
- XhtmlConformanceSection.cs
- BlurEffect.cs
- XmlArrayAttribute.cs
- DBSchemaTable.cs
- SQLRoleProvider.cs
- Attributes.cs
- ResourcesBuildProvider.cs
- ConnectionInterfaceCollection.cs
- CheckBoxStandardAdapter.cs
- RuntimeConfig.cs
- NullExtension.cs
- MetadataSerializer.cs
- StackSpiller.Bindings.cs
- OracleConnectionStringBuilder.cs
- HierarchicalDataTemplate.cs
- ConsoleCancelEventArgs.cs
- SemaphoreFullException.cs
- SqlParameter.cs
- StaticTextPointer.cs
- BitmapSourceSafeMILHandle.cs
- SerializationSectionGroup.cs
- DataSourceXmlSerializationAttribute.cs
- MaskInputRejectedEventArgs.cs
- DataGridTableStyleMappingNameEditor.cs
- ThumbButtonInfoCollection.cs
- WebPartAddingEventArgs.cs
- ConvertEvent.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- IntAverageAggregationOperator.cs
- ReaderWriterLockWrapper.cs
- ReadOnlyCollection.cs
- Manipulation.cs
- FontUnitConverter.cs
- PrimitiveXmlSerializers.cs
- NavigationWindowAutomationPeer.cs
- DecoderReplacementFallback.cs
- Pair.cs
- Array.cs
- SmiEventSink_DeferedProcessing.cs
- ToolboxItemSnapLineBehavior.cs
- InternalsVisibleToAttribute.cs
- NumberFormatter.cs
- ButtonChrome.cs
- WebServicesDescriptionAttribute.cs
- StyleModeStack.cs
- BasicCellRelation.cs
- XmlLoader.cs
- DebugViewWriter.cs
- PointCollection.cs
- CodeArrayIndexerExpression.cs
- Page.cs
- VectorAnimationBase.cs
- ErrorRuntimeConfig.cs
- ApplicationFileCodeDomTreeGenerator.cs
- LifetimeMonitor.cs
- XPathParser.cs
- MachineSettingsSection.cs