Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Serializer / PropertySegmentSerializationProvider.cs / 1305376 / PropertySegmentSerializationProvider.cs
namespace System.Workflow.ComponentModel.Serialization { using System; using System.Reflection; using System.Xml; using System.ComponentModel.Design.Serialization; using System.Collections; using System.Workflow.ComponentModel.Design; using System.ComponentModel; #region Class PropertySegmentSerializationProvider internal sealed class PropertySegmentSerializationProvider : WorkflowMarkupSerializationProvider { #region IDesignerSerializationProvider Members public override object GetSerializer(IDesignerSerializationManager manager, object currentSerializer, Type objectType, Type serializerType) { if (serializerType.IsAssignableFrom(typeof(WorkflowMarkupSerializer))) { if (currentSerializer is PropertySegmentSerializer) return currentSerializer; else if (objectType == typeof(PropertySegment)) return new PropertySegmentSerializer(null); else if (currentSerializer is WorkflowMarkupSerializer) return new PropertySegmentSerializer(currentSerializer as WorkflowMarkupSerializer); else return null; } else { return base.GetSerializer(manager, currentSerializer, objectType, serializerType); } } #endregion } #endregion } // 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
- DatagridviewDisplayedBandsData.cs
- FieldNameLookup.cs
- Repeater.cs
- DefaultEventAttribute.cs
- PropertyIdentifier.cs
- ValueTable.cs
- LocalizationParserHooks.cs
- DataGridViewRowHeaderCell.cs
- InputMethod.cs
- JavascriptXmlWriterWrapper.cs
- RetriableClipboard.cs
- ImageBrush.cs
- DSASignatureDeformatter.cs
- FormatterServices.cs
- XpsS0ValidatingLoader.cs
- TypeConstant.cs
- WsatExtendedInformation.cs
- XmlDataImplementation.cs
- ShaperBuffers.cs
- CopyCodeAction.cs
- StreamAsIStream.cs
- ContentElement.cs
- TextServicesProperty.cs
- SpanIndex.cs
- embossbitmapeffect.cs
- NegotiateStream.cs
- ContentElement.cs
- TypeDescriptionProviderAttribute.cs
- EncoderExceptionFallback.cs
- SizeF.cs
- ErrorFormatterPage.cs
- RecognizerInfo.cs
- ReflectionHelper.cs
- ErrorFormatterPage.cs
- ExtendedProtectionPolicy.cs
- DocumentPageTextView.cs
- ellipse.cs
- Duration.cs
- ReadOnlyHierarchicalDataSourceView.cs
- ProvidePropertyAttribute.cs
- XmlSchemaException.cs
- WindowsTitleBar.cs
- CriticalHandle.cs
- RichTextBoxAutomationPeer.cs
- ProgressPage.cs
- TargetControlTypeAttribute.cs
- ConfigurationFileMap.cs
- ProfileBuildProvider.cs
- TlsSspiNegotiation.cs
- CatalogPartChrome.cs
- KeyInterop.cs
- AttributeConverter.cs
- DataGridViewCellLinkedList.cs
- AuthenticationConfig.cs
- FormatConvertedBitmap.cs
- SQLConvert.cs
- WorkflowControlClient.cs
- MD5CryptoServiceProvider.cs
- List.cs
- VirtualPathProvider.cs
- ReplyAdapterChannelListener.cs
- DecoderBestFitFallback.cs
- ListBoxChrome.cs
- DataTableClearEvent.cs
- ImageMap.cs
- SystemGatewayIPAddressInformation.cs
- ConnectionModeReader.cs
- XmlILAnnotation.cs
- ProxyDataContractResolver.cs
- XmlBufferReader.cs
- LayoutEvent.cs
- RMPermissions.cs
- KnowledgeBase.cs
- DataObjectAttribute.cs
- PrintEvent.cs
- basecomparevalidator.cs
- ContentDisposition.cs
- EntitySetBaseCollection.cs
- CodeGotoStatement.cs
- SizeConverter.cs
- CriticalExceptions.cs
- SafeHandles.cs
- EventSetterHandlerConverter.cs
- FontFamilyIdentifier.cs
- XappLauncher.cs
- _StreamFramer.cs
- ExtenderControl.cs
- LinkButton.cs
- ConfigurationStrings.cs
- WebPartEventArgs.cs
- DoubleConverter.cs
- TriggerActionCollection.cs
- InsufficientMemoryException.cs
- EntityObject.cs
- __ConsoleStream.cs
- TextEditorLists.cs
- RotateTransform.cs
- ToolTip.cs
- Compensate.cs
- RegexCompiler.cs