Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / XamlIntegration / InOutArgumentConverter.cs / 1305376 / InOutArgumentConverter.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.XamlIntegration { using System; using System.ComponentModel; using System.Windows.Markup; public sealed class InOutArgumentConverter : TypeConverterBase { public InOutArgumentConverter() : base(typeof(InOutArgument<>), typeof(InOutArgumentConverterHelper<>)) { } public InOutArgumentConverter(Type type) : base(type, typeof(InOutArgument < > ), typeof(InOutArgumentConverterHelper < > )) { } internal sealed class InOutArgumentConverterHelper: TypeConverterHelper > { ActivityWithResultConverter.ExpressionConverterHelper > expressionHelper; public InOutArgumentConverterHelper() { this.expressionHelper = new ActivityWithResultConverter.ExpressionConverterHelper >(true); } public override InOutArgument ConvertFromString(string text, ITypeDescriptorContext context) { return new InOutArgument { Expression = this.expressionHelper.ConvertFromString(text.Trim(), 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
- TagPrefixAttribute.cs
- MessageFilterTable.cs
- ThumbButtonInfo.cs
- CallbackException.cs
- TemplatePartAttribute.cs
- DispatcherTimer.cs
- XmlDataDocument.cs
- BinaryConverter.cs
- XamlParser.cs
- Misc.cs
- HttpDigestClientCredential.cs
- TaskDesigner.cs
- TextTreeTextBlock.cs
- MetadataArtifactLoader.cs
- TokenizerHelper.cs
- WindowsGraphicsCacheManager.cs
- XPathParser.cs
- XPathNodeInfoAtom.cs
- LinkLabelLinkClickedEvent.cs
- InputMethodStateTypeInfo.cs
- ObjectQueryProvider.cs
- HeaderCollection.cs
- DefaultEvaluationContext.cs
- PageBuildProvider.cs
- MemberMaps.cs
- JapaneseCalendar.cs
- StylusPointPropertyUnit.cs
- PersonalizationState.cs
- DesignTimeVisibleAttribute.cs
- DataGridPageChangedEventArgs.cs
- Cursors.cs
- HttpListenerRequest.cs
- SelectionChangedEventArgs.cs
- sqlpipe.cs
- DrawingServices.cs
- CookieProtection.cs
- CookieParameter.cs
- TranslateTransform.cs
- StylusPointProperties.cs
- LayoutTable.cs
- NullToBooleanConverter.cs
- RtfToXamlLexer.cs
- XmlWellformedWriterHelpers.cs
- AuthenticationConfig.cs
- iisPickupDirectory.cs
- PageContentCollection.cs
- nulltextnavigator.cs
- DictionaryItemsCollection.cs
- AtomEntry.cs
- CapabilitiesState.cs
- InternalBufferOverflowException.cs
- UdpDiscoveryEndpoint.cs
- CustomErrorsSection.cs
- EventLogReader.cs
- ListBindableAttribute.cs
- Baml6ConstructorInfo.cs
- NavigatorOutput.cs
- PrivilegeNotHeldException.cs
- ImageClickEventArgs.cs
- StringResourceManager.cs
- PointKeyFrameCollection.cs
- ObjectTypeMapping.cs
- ShaperBuffers.cs
- CurrencyWrapper.cs
- RootBrowserWindowProxy.cs
- NativeMethods.cs
- SchemaObjectWriter.cs
- GradientStop.cs
- XmlValidatingReader.cs
- ThreadAttributes.cs
- CacheVirtualItemsEvent.cs
- XPathDocumentNavigator.cs
- VisualStateManager.cs
- JsonGlobals.cs
- XmlSchemaValidationException.cs
- TdsParserSafeHandles.cs
- HttpListenerTimeoutManager.cs
- OracleMonthSpan.cs
- ResourceAttributes.cs
- RemoteWebConfigurationHostServer.cs
- OciHandle.cs
- IteratorFilter.cs
- OuterGlowBitmapEffect.cs
- WebHeaderCollection.cs
- UpdatePanelTriggerCollection.cs
- Exception.cs
- Graphics.cs
- DNS.cs
- NetDataContractSerializer.cs
- OleDbWrapper.cs
- RelationshipType.cs
- PlainXmlWriter.cs
- QueryStack.cs
- MatrixCamera.cs
- HMACMD5.cs
- StandardCommands.cs
- SqlTriggerAttribute.cs
- FixedStringLookup.cs
- IOException.cs
- BamlRecordReader.cs