Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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; ////// /// 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.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Array.cs
- SmiConnection.cs
- RepeatBehaviorConverter.cs
- RSAPKCS1SignatureFormatter.cs
- CompilationUtil.cs
- ResourceManager.cs
- LinkedList.cs
- MessageRpc.cs
- DetailsViewUpdateEventArgs.cs
- SafeTimerHandle.cs
- DataRecordInternal.cs
- BorderGapMaskConverter.cs
- IResourceProvider.cs
- ParagraphResult.cs
- PrimaryKeyTypeConverter.cs
- XmlSecureResolver.cs
- SimpleRecyclingCache.cs
- Msec.cs
- RMPublishingDialog.cs
- PriorityChain.cs
- CssTextWriter.cs
- HMACMD5.cs
- MeasureItemEvent.cs
- ContextStack.cs
- FeatureManager.cs
- ServiceReference.cs
- Wizard.cs
- DataTableNewRowEvent.cs
- ListItemCollection.cs
- MailWriter.cs
- ExceptionTranslationTable.cs
- TraceHandlerErrorFormatter.cs
- MimeMapping.cs
- TypeForwardedToAttribute.cs
- WebServiceHandlerFactory.cs
- precedingsibling.cs
- BackStopAuthenticationModule.cs
- InputScope.cs
- DocumentOrderQuery.cs
- MemberDomainMap.cs
- _BufferOffsetSize.cs
- UrlParameterReader.cs
- EventPropertyMap.cs
- infer.cs
- WebException.cs
- GestureRecognitionResult.cs
- TdsRecordBufferSetter.cs
- ConnectionPoint.cs
- NameSpaceEvent.cs
- AutomationElementCollection.cs
- BooleanExpr.cs
- UInt64.cs
- HandoffBehavior.cs
- SqlRemoveConstantOrderBy.cs
- CoTaskMemHandle.cs
- ObfuscationAttribute.cs
- XmlNodeReader.cs
- CollectionChangeEventArgs.cs
- ProcessHost.cs
- HandlerElementCollection.cs
- MenuItemStyleCollectionEditor.cs
- AppModelKnownContentFactory.cs
- HttpCacheVaryByContentEncodings.cs
- AppModelKnownContentFactory.cs
- RIPEMD160Managed.cs
- Deflater.cs
- EntityDesignPluralizationHandler.cs
- basecomparevalidator.cs
- EncodingNLS.cs
- BitmapCodecInfo.cs
- SignedXmlDebugLog.cs
- EventTrigger.cs
- CheckPair.cs
- InboundActivityHelper.cs
- X509Utils.cs
- UnknownWrapper.cs
- SynchronizedInputAdaptor.cs
- Transactions.cs
- Collection.cs
- StorageComplexTypeMapping.cs
- CompilationRelaxations.cs
- StateMachine.cs
- MeasureItemEvent.cs
- PageStatePersister.cs
- TraceHwndHost.cs
- ScrollBar.cs
- AsyncPostBackErrorEventArgs.cs
- XmlTextReaderImplHelpers.cs
- CriticalFinalizerObject.cs
- ButtonPopupAdapter.cs
- HelpInfo.cs
- WebPartConnectionsCloseVerb.cs
- DbConnectionPool.cs
- IUnknownConstantAttribute.cs
- OperandQuery.cs
- StateMachineWorkflowDesigner.cs
- InputProcessorProfilesLoader.cs
- GeneralTransform.cs
- FlowPosition.cs
- CatalogZone.cs