Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Serialization / XmlMembersMapping.cs / 1305376 / XmlMembersMapping.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml.Serialization { using System.Reflection; using System; using System.Text; ////// /// /// public class XmlMembersMapping : XmlMapping { XmlMemberMapping[] mappings; internal XmlMembersMapping(TypeScope scope, ElementAccessor accessor, XmlMappingAccess access) : base(scope, accessor, access) { MembersMapping mapping = (MembersMapping)accessor.Mapping; StringBuilder key = new StringBuilder(); key.Append(":"); mappings = new XmlMemberMapping[mapping.Members.Length]; for (int i = 0; i < mappings.Length; i++) { if (mapping.Members[i].TypeDesc.Type != null) { key.Append(GenerateKey(mapping.Members[i].TypeDesc.Type, null, null)); key.Append(":"); } mappings[i] = new XmlMemberMapping(mapping.Members[i]); } SetKeyInternal(key.ToString()); } ///[To be supplied.] ////// /// public string TypeName { get { return Accessor.Mapping.TypeName; } } ///[To be supplied.] ////// /// public string TypeNamespace { get { return Accessor.Mapping.Namespace; } } ///[To be supplied.] ////// /// public XmlMemberMapping this[int index] { get { return mappings[index]; } } ///[To be supplied.] ////// /// public int Count { get { return mappings.Length; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ByteAnimationUsingKeyFrames.cs
- ButtonRenderer.cs
- CustomAttributeBuilder.cs
- TemplateBindingExtension.cs
- TemplatedAdorner.cs
- KeyedHashAlgorithm.cs
- GridViewItemAutomationPeer.cs
- RuleCache.cs
- GatewayDefinition.cs
- RoutedPropertyChangedEventArgs.cs
- WebServiceHostFactory.cs
- UpdateException.cs
- DateTimeOffset.cs
- BaseParagraph.cs
- MexNamedPipeBindingElement.cs
- Grid.cs
- FakeModelPropertyImpl.cs
- BackStopAuthenticationModule.cs
- IODescriptionAttribute.cs
- DoubleAnimationUsingPath.cs
- CookieProtection.cs
- PageWrapper.cs
- HtmlGenericControl.cs
- SimpleBitVector32.cs
- ToolboxSnapDragDropEventArgs.cs
- FormView.cs
- MenuBindingsEditorForm.cs
- LinqDataSourceDeleteEventArgs.cs
- MemberInfoSerializationHolder.cs
- InvalidProgramException.cs
- sqlpipe.cs
- DataGridView.cs
- PropertiesTab.cs
- HierarchicalDataSourceDesigner.cs
- PropertyChangingEventArgs.cs
- PublisherMembershipCondition.cs
- RangeValueProviderWrapper.cs
- MethodAccessException.cs
- ArrayWithOffset.cs
- ReceiveContext.cs
- OdbcUtils.cs
- ScriptResourceMapping.cs
- Int32CollectionConverter.cs
- PageAdapter.cs
- ContainerVisual.cs
- LayoutEngine.cs
- CodeAccessSecurityEngine.cs
- DbModificationClause.cs
- DependencyStoreSurrogate.cs
- FontUnit.cs
- FrameworkReadOnlyPropertyMetadata.cs
- Visual3DCollection.cs
- xdrvalidator.cs
- DetailsViewUpdatedEventArgs.cs
- Byte.cs
- ISAPIWorkerRequest.cs
- Buffer.cs
- BamlResourceContent.cs
- ObjectItemCollection.cs
- TextAdaptor.cs
- ExpressionsCollectionEditor.cs
- ButtonFlatAdapter.cs
- SecurityRuntime.cs
- RadioButtonBaseAdapter.cs
- GatewayIPAddressInformationCollection.cs
- TypedElement.cs
- HelpInfo.cs
- ListViewContainer.cs
- WmlPhoneCallAdapter.cs
- ProviderException.cs
- _ConnectOverlappedAsyncResult.cs
- CompoundFileReference.cs
- ToolBar.cs
- SystemIPAddressInformation.cs
- ComNativeDescriptor.cs
- MemoryFailPoint.cs
- TextBreakpoint.cs
- TdsValueSetter.cs
- ServiceDesigner.xaml.cs
- MimeWriter.cs
- ThemeDictionaryExtension.cs
- PasswordRecovery.cs
- WebPartEditorCancelVerb.cs
- VerificationException.cs
- TaskHelper.cs
- CodeDomSerializerException.cs
- RadioButtonDesigner.cs
- SafeNativeMethods.cs
- Effect.cs
- CompareValidator.cs
- SqlOuterApplyReducer.cs
- ResolvedKeyFrameEntry.cs
- Perspective.cs
- SeekStoryboard.cs
- HttpCachePolicyElement.cs
- ProtocolsConfigurationEntry.cs
- MailWebEventProvider.cs
- BinaryFormatter.cs
- TextBounds.cs
- AsyncOperationManager.cs