Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Serializer / BindMarkupExtensionSerializer.cs / 1305376 / BindMarkupExtensionSerializer.cs
namespace System.Workflow.ComponentModel.Serialization { using System; using System.Xml; using System.Reflection; using System.Workflow.ComponentModel.Design; using System.ComponentModel.Design.Serialization; using System.Text; using System.Diagnostics; using System.ComponentModel; using System.Collections.Generic; #region Class BindMarkupExtensionSerializer internal class BindMarkupExtensionSerializer : MarkupExtensionSerializer { protected override InstanceDescriptor GetInstanceDescriptor(WorkflowMarkupSerializationManager serializationManager, object value) { ActivityBind activityBind = value as ActivityBind; if (activityBind == null) throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ActivityBind).FullName), "value"); return new InstanceDescriptor(typeof(ActivityBind).GetConstructor(new Type[] { typeof(string) }), new object[] { activityBind.Name }); } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Workflow.ComponentModel.Serialization { using System; using System.Xml; using System.Reflection; using System.Workflow.ComponentModel.Design; using System.ComponentModel.Design.Serialization; using System.Text; using System.Diagnostics; using System.ComponentModel; using System.Collections.Generic; #region Class BindMarkupExtensionSerializer internal class BindMarkupExtensionSerializer : MarkupExtensionSerializer { protected override InstanceDescriptor GetInstanceDescriptor(WorkflowMarkupSerializationManager serializationManager, object value) { ActivityBind activityBind = value as ActivityBind; if (activityBind == null) throw new ArgumentException(SR.GetString(SR.Error_UnexpectedArgumentType, typeof(ActivityBind).FullName), "value"); return new InstanceDescriptor(typeof(ActivityBind).GetConstructor(new Type[] { typeof(string) }), new object[] { activityBind.Name }); } } #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
- Native.cs
- StoreUtilities.cs
- PathFigure.cs
- ByteStreamBufferedMessageData.cs
- DateTimeStorage.cs
- SimpleHandlerFactory.cs
- InvalidPipelineStoreException.cs
- CheckableControlBaseAdapter.cs
- LexicalChunk.cs
- DataGrid.cs
- DataTemplateKey.cs
- ContractInferenceHelper.cs
- FaultImportOptions.cs
- DomainUpDown.cs
- LinqExpressionNormalizer.cs
- OdbcStatementHandle.cs
- NativeMethodsCLR.cs
- NullReferenceException.cs
- MetadataCache.cs
- TextParagraphView.cs
- DataGridViewRowHeaderCell.cs
- ContextInformation.cs
- SchemaCollectionCompiler.cs
- BamlResourceDeserializer.cs
- StringFormat.cs
- NoneExcludedImageIndexConverter.cs
- InternalControlCollection.cs
- NullableDoubleAverageAggregationOperator.cs
- PackageDigitalSignatureManager.cs
- TreeNodeCollection.cs
- CheckBox.cs
- HashStream.cs
- X509CertificateTokenFactoryCredential.cs
- ComAdminInterfaces.cs
- StackSpiller.cs
- LiteralDesigner.cs
- CancellationToken.cs
- WebSysDisplayNameAttribute.cs
- ActivityTypeDesigner.xaml.cs
- ToolboxComponentsCreatingEventArgs.cs
- DataSysAttribute.cs
- DataRowComparer.cs
- XhtmlBasicPageAdapter.cs
- SqlExpressionNullability.cs
- DateTimeOffsetStorage.cs
- SecurityManager.cs
- DesignerEventService.cs
- BitmapEffectDrawing.cs
- NativeMethods.cs
- ActivationArguments.cs
- JumpList.cs
- InternalSafeNativeMethods.cs
- UriTemplateHelpers.cs
- WebPartConnectionsConfigureVerb.cs
- MulticastOption.cs
- ExpandedProjectionNode.cs
- ProvidePropertyAttribute.cs
- DoubleAnimationUsingKeyFrames.cs
- SingleResultAttribute.cs
- Walker.cs
- WebMessageEncoderFactory.cs
- HttpCapabilitiesBase.cs
- ListControl.cs
- MetadataPropertyCollection.cs
- TabItemAutomationPeer.cs
- DockingAttribute.cs
- JsonFormatMapping.cs
- DataGridAddNewRow.cs
- DbParameterHelper.cs
- XamlStackWriter.cs
- ReadOnlyDataSource.cs
- ThrowOnMultipleAssignment.cs
- DeclarativeCatalogPart.cs
- HttpDictionary.cs
- EDesignUtil.cs
- FormsAuthenticationUserCollection.cs
- RequestCachePolicy.cs
- DesignerTransaction.cs
- BaseDataListComponentEditor.cs
- X509SecurityTokenProvider.cs
- basevalidator.cs
- DeflateInput.cs
- ProcessHostMapPath.cs
- RangeValidator.cs
- _HTTPDateParse.cs
- XamlGridLengthSerializer.cs
- XamlLoadErrorInfo.cs
- RegistrySecurity.cs
- IndexedSelectQueryOperator.cs
- EditorZone.cs
- DeliveryStrategy.cs
- TypeConverter.cs
- HtmlTableCell.cs
- MapPathBasedVirtualPathProvider.cs
- ImageAttributes.cs
- SqlWriter.cs
- DiscardableAttribute.cs
- ChannelListenerBase.cs
- ReaderOutput.cs
- BaseTemplateCodeDomTreeGenerator.cs