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
- UIElementAutomationPeer.cs
- XmlValidatingReaderImpl.cs
- Ref.cs
- Touch.cs
- LinkedList.cs
- DocumentPaginator.cs
- Stackframe.cs
- PersianCalendar.cs
- XmlAttributeHolder.cs
- SqlNotificationEventArgs.cs
- CollectionBuilder.cs
- ExtractorMetadata.cs
- RulePatternOps.cs
- ListViewItemEventArgs.cs
- TypographyProperties.cs
- HMACMD5.cs
- InternalsVisibleToAttribute.cs
- FunctionNode.cs
- QueryFunctions.cs
- NameSpaceExtractor.cs
- SplitterPanel.cs
- DrawListViewSubItemEventArgs.cs
- AxImporter.cs
- ExternalDataExchangeService.cs
- MissingManifestResourceException.cs
- tabpagecollectioneditor.cs
- NonParentingControl.cs
- DefaultTextStore.cs
- SafeFileHandle.cs
- _UriSyntax.cs
- LogicalTreeHelper.cs
- PageThemeBuildProvider.cs
- List.cs
- FontDriver.cs
- WebPageTraceListener.cs
- DataGridState.cs
- TraceInternal.cs
- XmlQualifiedName.cs
- RtfControlWordInfo.cs
- SqlPersonalizationProvider.cs
- ResourceAttributes.cs
- ParsedRoute.cs
- CustomExpressionEventArgs.cs
- ContentHostHelper.cs
- WindowsTab.cs
- PartialTrustVisibleAssembly.cs
- ClosureBinding.cs
- FilterQueryOptionExpression.cs
- PreloadedPackages.cs
- HistoryEventArgs.cs
- CodeRegionDirective.cs
- NotSupportedException.cs
- ConnectivityStatus.cs
- DataGridViewSelectedCellCollection.cs
- EventArgs.cs
- EmptyCollection.cs
- ConsoleCancelEventArgs.cs
- TogglePattern.cs
- DataSourceConverter.cs
- RuntimeIdentifierPropertyAttribute.cs
- SingleConverter.cs
- RoleService.cs
- columnmapkeybuilder.cs
- EntityContainer.cs
- TimeSpanStorage.cs
- ComponentDispatcher.cs
- ReliableReplySessionChannel.cs
- KeyValueSerializer.cs
- COM2Enum.cs
- log.cs
- GeometryModel3D.cs
- FastPropertyAccessor.cs
- MetadataItemCollectionFactory.cs
- TransformPatternIdentifiers.cs
- QueryComponents.cs
- ResXDataNode.cs
- TypeRefElement.cs
- WebPartAddingEventArgs.cs
- OracleBFile.cs
- WebControlToolBoxItem.cs
- SymbolTable.cs
- ObjectSecurity.cs
- HyperLink.cs
- DesignerHierarchicalDataSourceView.cs
- SqlDataSourceView.cs
- NativeMethods.cs
- FunctionMappingTranslator.cs
- AsyncResult.cs
- ScriptingAuthenticationServiceSection.cs
- SystemIcmpV4Statistics.cs
- TreeIterator.cs
- UseLicense.cs
- ExtendedPropertyCollection.cs
- ByteStreamMessageEncoderFactory.cs
- Visitors.cs
- CancellationHandler.cs
- ComplexBindingPropertiesAttribute.cs
- RandomNumberGenerator.cs
- EventRecordWrittenEventArgs.cs
- BinaryMessageFormatter.cs