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
- HttpRuntimeSection.cs
- ValuePatternIdentifiers.cs
- SafeReadContext.cs
- ImageFormat.cs
- rsa.cs
- TextSelectionHelper.cs
- OpCellTreeNode.cs
- ProtocolsConfigurationEntry.cs
- SqlDataSource.cs
- ElementAction.cs
- TextServicesDisplayAttribute.cs
- SourceItem.cs
- Stopwatch.cs
- WebConfigurationHost.cs
- ExceptQueryOperator.cs
- TextElement.cs
- CrossSiteScriptingValidation.cs
- WebBrowserDocumentCompletedEventHandler.cs
- DependencyObjectPropertyDescriptor.cs
- MimeReflector.cs
- PrefixQName.cs
- SeekStoryboard.cs
- GetLastErrorDetailsRequest.cs
- DispatcherTimer.cs
- HtmlCommandAdapter.cs
- CompiledXpathExpr.cs
- ComponentResourceManager.cs
- ConnectionManagementElementCollection.cs
- FlowDocumentPaginator.cs
- FrameworkPropertyMetadata.cs
- CodeStatementCollection.cs
- ColumnCollection.cs
- PixelFormatConverter.cs
- XsltArgumentList.cs
- SafeIUnknown.cs
- PrincipalPermission.cs
- GridLengthConverter.cs
- WorkflowEnvironment.cs
- LinqExpressionNormalizer.cs
- XmlBinaryReader.cs
- FormViewInsertEventArgs.cs
- PropertyMappingExceptionEventArgs.cs
- RuleSettingsCollection.cs
- RequestCacheValidator.cs
- WebPartManager.cs
- IODescriptionAttribute.cs
- StorageAssociationTypeMapping.cs
- StylusPointPropertyId.cs
- _PooledStream.cs
- ToolTipAutomationPeer.cs
- WinCategoryAttribute.cs
- ImageMapEventArgs.cs
- ToolStripContainer.cs
- ProfileGroupSettingsCollection.cs
- AppearanceEditorPart.cs
- ReferenceAssemblyAttribute.cs
- FilteredXmlReader.cs
- UnSafeCharBuffer.cs
- DataDocumentXPathNavigator.cs
- XmlWellformedWriterHelpers.cs
- Substitution.cs
- CodeDefaultValueExpression.cs
- TransformConverter.cs
- HwndSource.cs
- LocalFileSettingsProvider.cs
- TypeSystem.cs
- CheckBoxStandardAdapter.cs
- BrowserDefinitionCollection.cs
- ClassValidator.cs
- EFColumnProvider.cs
- TrustManagerPromptUI.cs
- VariableElement.cs
- XamlTypeMapper.cs
- RootBrowserWindowProxy.cs
- XpsFont.cs
- ValidationHelper.cs
- WebConfigurationHostFileChange.cs
- EditorZoneDesigner.cs
- TypefaceCollection.cs
- TextTreeTextBlock.cs
- GradientStopCollection.cs
- InputLanguageProfileNotifySink.cs
- Identity.cs
- CallId.cs
- NgenServicingAttributes.cs
- ServiceEndpoint.cs
- PublishLicense.cs
- Endpoint.cs
- VideoDrawing.cs
- UIElement3D.cs
- LastQueryOperator.cs
- SplineKeyFrames.cs
- CatalogZone.cs
- QueryCacheKey.cs
- RequestContextBase.cs
- DecoderFallback.cs
- KnowledgeBase.cs
- Point3D.cs
- LayoutTableCell.cs
- Span.cs