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
- Wizard.cs
- Quaternion.cs
- Compiler.cs
- Pkcs7Recipient.cs
- LinqDataSourceInsertEventArgs.cs
- EntityConnectionStringBuilder.cs
- RelationshipWrapper.cs
- BitmapPalettes.cs
- TransformerConfigurationWizardBase.cs
- XmlDocument.cs
- DataRelationCollection.cs
- XmlBaseReader.cs
- ProvidersHelper.cs
- CommandField.cs
- WmlPhoneCallAdapter.cs
- Literal.cs
- ButtonAutomationPeer.cs
- ToolStripDropDownItemDesigner.cs
- ReferenceEqualityComparer.cs
- ProviderSettingsCollection.cs
- HttpCacheVaryByContentEncodings.cs
- GridItemPattern.cs
- SqlCachedBuffer.cs
- SHA384Managed.cs
- CodeRegionDirective.cs
- ProgressBarBrushConverter.cs
- SchemaTypeEmitter.cs
- Helper.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- DataMemberFieldEditor.cs
- DataServiceRequestOfT.cs
- IndexedString.cs
- XPathDescendantIterator.cs
- DrawingImage.cs
- Parser.cs
- ProxyWebPart.cs
- IList.cs
- WebPartConnectionCollection.cs
- Maps.cs
- TableCellCollection.cs
- MouseGestureConverter.cs
- PartitionerQueryOperator.cs
- XmlSignatureManifest.cs
- TdsRecordBufferSetter.cs
- ComEventsSink.cs
- File.cs
- TextTreeRootNode.cs
- Peer.cs
- ConnectionStringSettingsCollection.cs
- SoapWriter.cs
- MatrixConverter.cs
- Int64KeyFrameCollection.cs
- SuppressIldasmAttribute.cs
- HttpStaticObjectsCollectionWrapper.cs
- SecurityElement.cs
- AuthenticateEventArgs.cs
- InvalidEnumArgumentException.cs
- InfocardExtendedInformationCollection.cs
- COM2ICategorizePropertiesHandler.cs
- EnterpriseServicesHelper.cs
- XslTransform.cs
- BindingMAnagerBase.cs
- MetadataArtifactLoaderCompositeResource.cs
- DragDeltaEventArgs.cs
- Documentation.cs
- ToolStripContentPanel.cs
- TextElementEditingBehaviorAttribute.cs
- Currency.cs
- SendMessageContent.cs
- WindowsAuthenticationModule.cs
- Range.cs
- XDRSchema.cs
- CustomError.cs
- BrushConverter.cs
- TableLayoutPanelCodeDomSerializer.cs
- HwndSourceParameters.cs
- DebugHandleTracker.cs
- PropertyEntry.cs
- InputScopeManager.cs
- BitSet.cs
- MSG.cs
- AttributeEmitter.cs
- Literal.cs
- EditorPart.cs
- ReaderOutput.cs
- StackOverflowException.cs
- DataGridViewDataConnection.cs
- PropertyIDSet.cs
- XmlConvert.cs
- DataGridRelationshipRow.cs
- ItemContainerPattern.cs
- State.cs
- PropertyConverter.cs
- InvalidTimeZoneException.cs
- CodeSubDirectoriesCollection.cs
- RecognitionResult.cs
- SpeakProgressEventArgs.cs
- KeyPressEvent.cs
- ManifestSignatureInformation.cs
- XPathDocumentNavigator.cs