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
- CompiledQueryCacheKey.cs
- TemplateColumn.cs
- InheritanceRules.cs
- RouteParameter.cs
- RsaSecurityTokenParameters.cs
- SafeNativeMethods.cs
- CodeGenerationManager.cs
- basevalidator.cs
- XsdCachingReader.cs
- ScriptingProfileServiceSection.cs
- RtType.cs
- ReadOnlyTernaryTree.cs
- ReferentialConstraint.cs
- SerTrace.cs
- ReflectionTypeLoadException.cs
- InternalConfigRoot.cs
- TextProviderWrapper.cs
- RandomNumberGenerator.cs
- DataException.cs
- ObjectStateFormatter.cs
- DesignerAdRotatorAdapter.cs
- ImportedPolicyConversionContext.cs
- Int32CollectionValueSerializer.cs
- MessageSecurityOverMsmq.cs
- MarkupProperty.cs
- MeasurementDCInfo.cs
- IntegerValidatorAttribute.cs
- LinearGradientBrush.cs
- ConfigurationValues.cs
- MultipartIdentifier.cs
- PopupRootAutomationPeer.cs
- RepeaterItem.cs
- FixedSchema.cs
- PropertyManager.cs
- AttachInfo.cs
- Publisher.cs
- GrammarBuilderRuleRef.cs
- ConfigurationElementProperty.cs
- CommandLineParser.cs
- coordinatorscratchpad.cs
- RegexBoyerMoore.cs
- PolicyException.cs
- XPathNavigatorReader.cs
- RuleSettingsCollection.cs
- RegistrationServices.cs
- InfoCardSchemas.cs
- FormatSettings.cs
- Enum.cs
- DataGridRowsPresenter.cs
- ToolboxControl.cs
- PenContext.cs
- StylusTip.cs
- BuildManager.cs
- RouteValueExpressionBuilder.cs
- DebugController.cs
- DefaultPrintController.cs
- ProfessionalColors.cs
- ADConnectionHelper.cs
- TraceContextRecord.cs
- ProfileInfo.cs
- IndexOutOfRangeException.cs
- Normalization.cs
- FixedSOMFixedBlock.cs
- ADRoleFactory.cs
- ViewGenResults.cs
- ColumnCollection.cs
- OutputWindow.cs
- KnownTypeHelper.cs
- QuaternionKeyFrameCollection.cs
- oledbconnectionstring.cs
- ProtectedProviderSettings.cs
- CreateUserErrorEventArgs.cs
- Rect.cs
- Transform.cs
- ProjectionCamera.cs
- XmlWrappingReader.cs
- WeakReadOnlyCollection.cs
- MinMaxParagraphWidth.cs
- WindowsListViewItem.cs
- CatalogPart.cs
- GZipUtils.cs
- MessagePartDescription.cs
- Expression.cs
- RijndaelCryptoServiceProvider.cs
- BindingCollection.cs
- PackWebRequestFactory.cs
- BinaryMessageEncodingBindingElement.cs
- WebWorkflowRole.cs
- ConfigurationLocationCollection.cs
- TemplateParser.cs
- Helper.cs
- JavaScriptString.cs
- TdsRecordBufferSetter.cs
- COM2ColorConverter.cs
- HtmlControlPersistable.cs
- SqlVersion.cs
- PeerApplicationLaunchInfo.cs
- SourceFileBuildProvider.cs
- StylusPointPropertyInfoDefaults.cs
- Reference.cs