Code:
/ FX-1434 / FX-1434 / 1.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; ////// /// 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
- XmlUtil.cs
- RichTextBox.cs
- ClientSettings.cs
- LayoutEditorPart.cs
- RemoteWebConfigurationHostServer.cs
- FontWeight.cs
- UInt16Storage.cs
- ElementAction.cs
- MachineKeyValidationConverter.cs
- RequestReplyCorrelator.cs
- XpsResource.cs
- MessageBox.cs
- ImageIndexConverter.cs
- cookie.cs
- Light.cs
- PolyBezierSegment.cs
- RegistrationServices.cs
- MouseOverProperty.cs
- ArrayMergeHelper.cs
- TargetInvocationException.cs
- DiagnosticTrace.cs
- ManagedFilter.cs
- DependencySource.cs
- PropertyMap.cs
- ProtectedConfigurationProviderCollection.cs
- DataControlPagerLinkButton.cs
- ZipIOCentralDirectoryBlock.cs
- PerformanceCounterScope.cs
- DataTableMappingCollection.cs
- RawStylusInputCustomDataList.cs
- LocalizationParserHooks.cs
- XsdValidatingReader.cs
- WebBrowserNavigatedEventHandler.cs
- StateWorkerRequest.cs
- ExceptionHelpers.cs
- EventManager.cs
- LostFocusEventManager.cs
- LoginDesigner.cs
- HtmlLink.cs
- RequestCacheManager.cs
- RemotingService.cs
- ProcessHostServerConfig.cs
- CheckBoxList.cs
- UserValidatedEventArgs.cs
- PointF.cs
- CompiledELinqQueryState.cs
- DeclarationUpdate.cs
- DbTransaction.cs
- UpdateEventArgs.cs
- RemoteWebConfigurationHost.cs
- ConfigXmlCDataSection.cs
- TextOnlyOutput.cs
- SharedConnectionInfo.cs
- ClosableStream.cs
- UnrecognizedAssertionsBindingElement.cs
- SystemIPGlobalStatistics.cs
- BitmapVisualManager.cs
- WebPartZone.cs
- ListView.cs
- DelayedRegex.cs
- DocumentReference.cs
- ScriptingWebServicesSectionGroup.cs
- input.cs
- XmlValidatingReaderImpl.cs
- SoapHeader.cs
- ManagedIStream.cs
- TreeNode.cs
- ToolStripItemCollection.cs
- DictionaryContent.cs
- ListView.cs
- Expressions.cs
- KeyConstraint.cs
- FocusChangedEventArgs.cs
- DataGridViewTextBoxCell.cs
- QueryableDataSourceEditData.cs
- NewArrayExpression.cs
- LinkTarget.cs
- CodeCommentStatement.cs
- OAVariantLib.cs
- mactripleDES.cs
- BoundField.cs
- XmlnsDictionary.cs
- DbConnectionPoolGroup.cs
- SolidBrush.cs
- __ConsoleStream.cs
- IsolatedStorage.cs
- StrokeFIndices.cs
- KnownTypesHelper.cs
- XmlSecureResolver.cs
- TextDpi.cs
- NewExpression.cs
- activationcontext.cs
- IsolatedStorage.cs
- CaseStatement.cs
- DataSetUtil.cs
- WebEventTraceProvider.cs
- DataGridViewCellConverter.cs
- CodeSnippetTypeMember.cs
- ComponentChangingEvent.cs
- EventEntry.cs