Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PageWrapper.cs
- SizeIndependentAnimationStorage.cs
- MLangCodePageEncoding.cs
- GridItemPattern.cs
- DesignTimeHTMLTextWriter.cs
- Size.cs
- PropertyPathWorker.cs
- FillRuleValidation.cs
- ImageCreator.cs
- X500Name.cs
- AutomationPropertyInfo.cs
- CatalogZoneBase.cs
- Material.cs
- StylusPointCollection.cs
- XmlSignificantWhitespace.cs
- ProgressBarHighlightConverter.cs
- ActivitySurrogate.cs
- TypeHelper.cs
- ServiceSecurityAuditBehavior.cs
- IgnoreSectionHandler.cs
- LongValidatorAttribute.cs
- Color.cs
- MappedMetaModel.cs
- WebCategoryAttribute.cs
- PermissionToken.cs
- XComponentModel.cs
- BaseDataListComponentEditor.cs
- XmlQueryTypeFactory.cs
- XPathParser.cs
- X509SecurityTokenAuthenticator.cs
- EastAsianLunisolarCalendar.cs
- MulticastOption.cs
- XmlDeclaration.cs
- ScrollBar.cs
- RepeatBehavior.cs
- XmlWellformedWriter.cs
- EncryptedXml.cs
- CompoundFileDeflateTransform.cs
- NavigationPropertyEmitter.cs
- UndirectedGraph.cs
- WebEvents.cs
- QueryExpr.cs
- MultiViewDesigner.cs
- UnhandledExceptionEventArgs.cs
- Transactions.cs
- StatusStrip.cs
- DataKeyCollection.cs
- FileDataSource.cs
- EndpointAddressMessageFilter.cs
- ProxySimple.cs
- AffineTransform3D.cs
- TemplateBamlRecordReader.cs
- PresentationTraceSources.cs
- ListViewGroupItemCollection.cs
- ExtractedStateEntry.cs
- OrthographicCamera.cs
- TreeNodeBindingCollection.cs
- login.cs
- SiteMapSection.cs
- GorillaCodec.cs
- FlagsAttribute.cs
- FormsAuthentication.cs
- Int32RectConverter.cs
- PathGradientBrush.cs
- DatePickerTextBox.cs
- GACMembershipCondition.cs
- LinqDataSourceDisposeEventArgs.cs
- RegularExpressionValidator.cs
- Expander.cs
- VirtualDirectoryMappingCollection.cs
- ValuePatternIdentifiers.cs
- HttpResponseInternalWrapper.cs
- OutputCacheSection.cs
- BaseCodeDomTreeGenerator.cs
- ThreadStartException.cs
- CallbackValidator.cs
- Lazy.cs
- HtmlInputFile.cs
- ParameterEditorUserControl.cs
- Expression.cs
- TimeSpan.cs
- SqlNotificationEventArgs.cs
- RegexCompiler.cs
- DictionaryMarkupSerializer.cs
- InheritablePropertyChangeInfo.cs
- TableItemPatternIdentifiers.cs
- EntityCommandCompilationException.cs
- ConsumerConnectionPointCollection.cs
- GridView.cs
- DetailsViewDeleteEventArgs.cs
- ChooseAction.cs
- recordstatefactory.cs
- FocusManager.cs
- RuntimeConfigLKG.cs
- IDQuery.cs
- WizardPanel.cs
- DesignerEventService.cs
- GlyphInfoList.cs
- MetadataHelper.cs
- X509Certificate.cs