Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / XamlIntegration / InArgumentConverter.cs / 1305376 / InArgumentConverter.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.XamlIntegration { using System; using System.ComponentModel; using System.Windows.Markup; public sealed class InArgumentConverter : TypeConverterBase { public InArgumentConverter() : base(typeof(InArgument<>), typeof(InArgumentConverterHelper<>)) { } public InArgumentConverter(Type type) : base(type, typeof(InArgument < > ), typeof(InArgumentConverterHelper < > )) { } internal sealed class InArgumentConverterHelper: TypeConverterHelper > { ActivityWithResultConverter.ExpressionConverterHelper valueExpressionHelper; public InArgumentConverterHelper() { this.valueExpressionHelper = new ActivityWithResultConverter.ExpressionConverterHelper (false); } public override InArgument ConvertFromString(string text, ITypeDescriptorContext context) { return new InArgument { Expression = this.valueExpressionHelper.ConvertFromString(text, context) }; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AnnotationAdorner.cs
- MD5CryptoServiceProvider.cs
- ZipIOExtraFieldZip64Element.cs
- ToolStripDropDownMenu.cs
- DesignDataSource.cs
- BufferedConnection.cs
- ApplicationSecurityManager.cs
- BufferedStream.cs
- ListSortDescriptionCollection.cs
- ZipPackagePart.cs
- TdsParserStateObject.cs
- CapabilitiesState.cs
- DesignerVerb.cs
- KoreanCalendar.cs
- DrawingGroup.cs
- ActiveXHelper.cs
- IdentityElement.cs
- IteratorFilter.cs
- OrderedEnumerableRowCollection.cs
- UserControl.cs
- AssemblySettingAttributes.cs
- ContextStaticAttribute.cs
- AutomationPropertyInfo.cs
- DataSourceView.cs
- _SslState.cs
- TabPage.cs
- CombinedGeometry.cs
- ClusterUtils.cs
- XmlJsonWriter.cs
- ExtenderHelpers.cs
- ListItemCollection.cs
- TrackingProfile.cs
- DataTemplateKey.cs
- XamlTypeMapper.cs
- PersonalizablePropertyEntry.cs
- ObjectQueryProvider.cs
- UniqueTransportManagerRegistration.cs
- XhtmlBasicPhoneCallAdapter.cs
- MonthChangedEventArgs.cs
- MasterPageBuildProvider.cs
- NoPersistScope.cs
- DesignerAdapterAttribute.cs
- ValueProviderWrapper.cs
- ImportContext.cs
- FixedSOMElement.cs
- SymDocumentType.cs
- LogLogRecordEnumerator.cs
- EntityConnectionStringBuilder.cs
- WinEventQueueItem.cs
- GPPOINTF.cs
- NameObjectCollectionBase.cs
- UIElementParaClient.cs
- MsmqOutputMessage.cs
- StyleTypedPropertyAttribute.cs
- Attributes.cs
- XmlReaderSettings.cs
- ConstrainedDataObject.cs
- SecurityIdentifierElement.cs
- AsyncPostBackErrorEventArgs.cs
- Comparer.cs
- Point3DAnimation.cs
- DownloadProgressEventArgs.cs
- KoreanLunisolarCalendar.cs
- KeyValuePairs.cs
- HandlerMappingMemo.cs
- DesignerProperties.cs
- Freezable.cs
- NamespaceListProperty.cs
- ExtensibleClassFactory.cs
- StylusOverProperty.cs
- StrokeSerializer.cs
- Rect3D.cs
- IImplicitResourceProvider.cs
- BaseValidator.cs
- LocalizabilityAttribute.cs
- FormatVersion.cs
- AssemblyContextControlItem.cs
- SamlAssertion.cs
- MetadataSource.cs
- Typeface.cs
- WindowsScrollBar.cs
- Rfc4050KeyFormatter.cs
- NavigationCommands.cs
- externdll.cs
- WebPartMenuStyle.cs
- CacheSection.cs
- TracePayload.cs
- PenContext.cs
- GatewayDefinition.cs
- DataGridViewLinkCell.cs
- RawUIStateInputReport.cs
- GetRecipientRequest.cs
- FormViewAutoFormat.cs
- TextBoxRenderer.cs
- DataKeyCollection.cs
- ITextView.cs
- WebBrowserProgressChangedEventHandler.cs
- XmlSchemaIdentityConstraint.cs
- DiscoveryClientDocuments.cs
- CryptoProvider.cs