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
- SystemFonts.cs
- ListViewDataItem.cs
- WinFormsSpinner.cs
- QilPatternFactory.cs
- OdbcDataReader.cs
- EastAsianLunisolarCalendar.cs
- QilExpression.cs
- EUCJPEncoding.cs
- ThreadSafeList.cs
- MetroSerializationManager.cs
- ColorConvertedBitmap.cs
- StyleXamlTreeBuilder.cs
- EntitySet.cs
- EventDescriptorCollection.cs
- ServiceContractGenerator.cs
- IncomingWebResponseContext.cs
- ToolStripPanelSelectionBehavior.cs
- OletxVolatileEnlistment.cs
- FontStyles.cs
- CallContext.cs
- LogicalMethodInfo.cs
- AncillaryOps.cs
- JsonEnumDataContract.cs
- TrackBarRenderer.cs
- OutKeywords.cs
- _FtpControlStream.cs
- URI.cs
- XXXInfos.cs
- CalendarBlackoutDatesCollection.cs
- VScrollBar.cs
- WasAdminWrapper.cs
- DurableServiceAttribute.cs
- GeneralTransform3DGroup.cs
- PenContexts.cs
- FormsAuthenticationModule.cs
- XmlChoiceIdentifierAttribute.cs
- DecoratedNameAttribute.cs
- PersonalizableTypeEntry.cs
- EdmConstants.cs
- SettingsPropertyWrongTypeException.cs
- DoubleLink.cs
- FixedSOMPage.cs
- ToolboxItemCollection.cs
- TableLayoutCellPaintEventArgs.cs
- OneToOneMappingSerializer.cs
- MultipleViewProviderWrapper.cs
- CollectionConverter.cs
- CompModHelpers.cs
- SQLSingle.cs
- ProvidePropertyAttribute.cs
- CodeCatchClause.cs
- CompilationSection.cs
- HostProtectionException.cs
- CollectionTraceRecord.cs
- DbConnectionOptions.cs
- TreeViewImageIndexConverter.cs
- BitmapPalettes.cs
- RefreshPropertiesAttribute.cs
- TitleStyle.cs
- RenderTargetBitmap.cs
- SmtpLoginAuthenticationModule.cs
- ModelProperty.cs
- ItemType.cs
- FontNameEditor.cs
- DataKeyCollection.cs
- AttributeCollection.cs
- SafeHandle.cs
- FrameworkContentElement.cs
- TableAdapterManagerNameHandler.cs
- DataListGeneralPage.cs
- SerializationObjectManager.cs
- CheckBox.cs
- ClientSponsor.cs
- Byte.cs
- WorkflowExecutor.cs
- PartialCachingControl.cs
- RtType.cs
- MasterPageBuildProvider.cs
- IDReferencePropertyAttribute.cs
- ADConnectionHelper.cs
- ApplicationSettingsBase.cs
- ObjectDataSource.cs
- Base64Encoder.cs
- FigureParagraph.cs
- GcSettings.cs
- PtsCache.cs
- XmlNamespaceDeclarationsAttribute.cs
- ValidationSummary.cs
- OleDbRowUpdatedEvent.cs
- XamlVector3DCollectionSerializer.cs
- TreeNode.cs
- LineServices.cs
- StringUtil.cs
- ParserContext.cs
- InfoCardAsymmetricCrypto.cs
- MarshalDirectiveException.cs
- PageBorderless.cs
- TableCellAutomationPeer.cs
- IIS7UserPrincipal.cs
- GeneralTransform3DCollection.cs