Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / Serialization / SoapAttributeOverrides.cs / 1 / SoapAttributeOverrides.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// [....]
//-----------------------------------------------------------------------------
namespace System.Xml.Serialization {
using System.Reflection;
using System.Collections;
using System.IO;
using System.Xml.Schema;
using System;
using System.ComponentModel;
///
///
/// [To be supplied.]
///
public class SoapAttributeOverrides {
Hashtable types = new Hashtable();
///
///
/// [To be supplied.]
///
public void Add(Type type, SoapAttributes attributes) {
Add(type, string.Empty, attributes);
}
///
///
/// [To be supplied.]
///
public void Add(Type type, string member, SoapAttributes attributes) {
Hashtable members = (Hashtable)types[type];
if (members == null) {
members = new Hashtable();
types.Add(type, members);
}
else if (members[member] != null) {
throw new InvalidOperationException(Res.GetString(Res.XmlMultipleAttributeOverrides, type.FullName, member));
}
members.Add(member, attributes);
}
///
///
/// [To be supplied.]
///
public SoapAttributes this[Type type] {
get {
return this[type, string.Empty];
}
}
///
///
/// [To be supplied.]
///
public SoapAttributes this[Type type, string member] {
get {
Hashtable members = (Hashtable)types[type];
if (members == null) return null;
return (SoapAttributes)members[member];
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- _AutoWebProxyScriptWrapper.cs
- ResourceDescriptionAttribute.cs
- WebPartHelpVerb.cs
- WebColorConverter.cs
- DynamicPropertyReader.cs
- TypeUtils.cs
- COM2ExtendedTypeConverter.cs
- SHA1Managed.cs
- AssertFilter.cs
- MetadataWorkspace.cs
- EventListener.cs
- DataControlCommands.cs
- _TimerThread.cs
- PathFigureCollection.cs
- HttpResponse.cs
- CompilerResults.cs
- FontFamilyConverter.cs
- SqlRecordBuffer.cs
- EdmFunction.cs
- EnumCodeDomSerializer.cs
- processwaithandle.cs
- DateBoldEvent.cs
- ListMarkerSourceInfo.cs
- Random.cs
- Tablet.cs
- CurrentTimeZone.cs
- SystemIPGlobalStatistics.cs
- RegexParser.cs
- ToolbarAUtomationPeer.cs
- ColumnHeaderConverter.cs
- ValidationEventArgs.cs
- ApplicationSettingsBase.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- MailAddress.cs
- StringPropertyBuilder.cs
- CornerRadiusConverter.cs
- DataServiceRequestArgs.cs
- BasicAsyncResult.cs
- OdbcConnection.cs
- ListDictionaryInternal.cs
- ArrangedElement.cs
- IgnoreFlushAndCloseStream.cs
- SourceFileBuildProvider.cs
- LockRenewalTask.cs
- SiteOfOriginPart.cs
- ArrayItemValue.cs
- ImageClickEventArgs.cs
- assemblycache.cs
- Security.cs
- ToolboxItemCollection.cs
- DataGridViewRowStateChangedEventArgs.cs
- invalidudtexception.cs
- HtmlHistory.cs
- ArgumentException.cs
- Psha1DerivedKeyGenerator.cs
- ImageFormatConverter.cs
- KeyGestureConverter.cs
- ByteStack.cs
- FullTextLine.cs
- DataGridToolTip.cs
- ListBox.cs
- SqlError.cs
- DefaultPerformanceCounters.cs
- SqlInternalConnection.cs
- EntityKey.cs
- ProfileEventArgs.cs
- PropertyMapper.cs
- NavigationExpr.cs
- ParseHttpDate.cs
- PageContentAsyncResult.cs
- ToolStripDropDownButton.cs
- BitmapEffectGroup.cs
- InvalidProgramException.cs
- MailWriter.cs
- RawStylusInputCustomDataList.cs
- DefaultPropertyAttribute.cs
- BrowserCapabilitiesFactoryBase.cs
- LocationUpdates.cs
- ListChangedEventArgs.cs
- ScriptReference.cs
- TypeLoadException.cs
- NavigationFailedEventArgs.cs
- WindowsListBox.cs
- ProfileGroupSettingsCollection.cs
- Converter.cs
- safelinkcollection.cs
- EmptyCollection.cs
- TreeView.cs
- TemplatedMailWebEventProvider.cs
- ITreeGenerator.cs
- WS2007HttpBindingElement.cs
- FillRuleValidation.cs
- RootContext.cs
- MobileRedirect.cs
- SqlNodeTypeOperators.cs
- _HeaderInfoTable.cs
- RotationValidation.cs
- TextProperties.cs
- SimpleHandlerFactory.cs
- ValuePatternIdentifiers.cs