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
- ItemCollection.cs
- FeatureSupport.cs
- _KerberosClient.cs
- NavigationPropertyEmitter.cs
- TableAdapterManagerGenerator.cs
- HyperlinkAutomationPeer.cs
- PageAsyncTaskManager.cs
- KnowledgeBase.cs
- GroupStyle.cs
- ImageFormat.cs
- WorkflowServiceHostFactory.cs
- DataBoundControlHelper.cs
- Variant.cs
- LinqExpressionNormalizer.cs
- DbConnectionPoolGroupProviderInfo.cs
- WriteTimeStream.cs
- UnsafeNativeMethods.cs
- NominalTypeEliminator.cs
- OracleTimeSpan.cs
- ProjectionPathSegment.cs
- HttpHandlerActionCollection.cs
- MaskPropertyEditor.cs
- PasswordBox.cs
- DbConnectionClosed.cs
- DataIdProcessor.cs
- Misc.cs
- RecordConverter.cs
- NamespaceDecl.cs
- StateMachine.cs
- PointCollectionConverter.cs
- BoundPropertyEntry.cs
- HWStack.cs
- KeyFrames.cs
- ValueUtilsSmi.cs
- TraceListeners.cs
- followingquery.cs
- Section.cs
- XPathArrayIterator.cs
- RoutingTable.cs
- XmlIgnoreAttribute.cs
- PerformanceCounterManager.cs
- BinaryReader.cs
- FeatureSupport.cs
- XmlEncodedRawTextWriter.cs
- DES.cs
- _NegoStream.cs
- NetworkInformationException.cs
- XmlIlTypeHelper.cs
- SqlDataSourceSelectingEventArgs.cs
- PositiveTimeSpanValidatorAttribute.cs
- ObjectDataSource.cs
- BindingGroup.cs
- CLRBindingWorker.cs
- DirectoryNotFoundException.cs
- LinkButton.cs
- Image.cs
- QueryAccessibilityHelpEvent.cs
- HttpCachePolicyWrapper.cs
- ComponentDispatcher.cs
- PermissionListSet.cs
- TextProviderWrapper.cs
- XmlBinaryReader.cs
- PageCodeDomTreeGenerator.cs
- TimeSpanValidator.cs
- FileAuthorizationModule.cs
- ListControlBoundActionList.cs
- BinaryConverter.cs
- PathGeometry.cs
- ValidationVisibilityAttribute.cs
- DataColumn.cs
- ScrollEventArgs.cs
- FontResourceCache.cs
- WsdlWriter.cs
- DeviceFilterEditorDialog.cs
- CancellationHandlerDesigner.cs
- TargetConverter.cs
- ValueTable.cs
- SignerInfo.cs
- Codec.cs
- GridViewUpdateEventArgs.cs
- LocationChangedEventArgs.cs
- PartialArray.cs
- FontFamily.cs
- EdmItemCollection.cs
- PrintEvent.cs
- InplaceBitmapMetadataWriter.cs
- SelectionProviderWrapper.cs
- HttpCacheVaryByContentEncodings.cs
- ListItemCollection.cs
- DesignerProperties.cs
- TypeConverterHelper.cs
- ResourceDescriptionAttribute.cs
- RangeValueProviderWrapper.cs
- RouteItem.cs
- XmlIncludeAttribute.cs
- ChangeBlockUndoRecord.cs
- AppDomainGrammarProxy.cs
- GridEntry.cs
- _MultipleConnectAsync.cs
- StructuredProperty.cs