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
- SqlCommandSet.cs
- DesignerTransaction.cs
- TransformerInfo.cs
- _Semaphore.cs
- SqlInternalConnection.cs
- UIServiceHelper.cs
- DataTableMappingCollection.cs
- WrappingXamlSchemaContext.cs
- EventBuilder.cs
- DefaultAsyncDataDispatcher.cs
- StyleSheetDesigner.cs
- JsonClassDataContract.cs
- RectangleF.cs
- WorkflowQueueInfo.cs
- SystemColors.cs
- TimeSpanSecondsConverter.cs
- SmiConnection.cs
- ConfigurationSectionCollection.cs
- DockProviderWrapper.cs
- X509UI.cs
- IndexerNameAttribute.cs
- ConnectionOrientedTransportBindingElement.cs
- XmlLanguage.cs
- FormattedTextSymbols.cs
- TimeSpanValidatorAttribute.cs
- ToolBar.cs
- ApplicationSecurityInfo.cs
- FontFamily.cs
- ApplicationId.cs
- ProviderIncompatibleException.cs
- WebServiceClientProxyGenerator.cs
- DataServiceHost.cs
- SerializationEventsCache.cs
- WsdlBuildProvider.cs
- RequestStatusBarUpdateEventArgs.cs
- DesignTimeParseData.cs
- TimeEnumHelper.cs
- TextHintingModeValidation.cs
- TraceListener.cs
- ActiveXMessageFormatter.cs
- QilInvokeLateBound.cs
- Win32Interop.cs
- ResumeStoryboard.cs
- odbcmetadatacollectionnames.cs
- XamlSerializerUtil.cs
- PictureBox.cs
- Odbc32.cs
- ConsumerConnectionPointCollection.cs
- DataStorage.cs
- ProgressBar.cs
- ToolStripPanelRenderEventArgs.cs
- WorkflowQueuingService.cs
- BrowserTree.cs
- TextInfo.cs
- XsltCompileContext.cs
- PrintEvent.cs
- EventDriven.cs
- HiddenField.cs
- OdbcConnectionOpen.cs
- LoggedException.cs
- StylusShape.cs
- documentsequencetextview.cs
- SqlRewriteScalarSubqueries.cs
- XmlNode.cs
- OutputChannelBinder.cs
- DBBindings.cs
- NumberFormatter.cs
- OracleColumn.cs
- SubMenuStyleCollection.cs
- ExpressionBindingsDialog.cs
- RoutedEventHandlerInfo.cs
- CodeNamespace.cs
- InternalEnumValidatorAttribute.cs
- InvokeWebServiceDesigner.cs
- SmtpReplyReader.cs
- UIElement3D.cs
- safelinkcollection.cs
- NodeLabelEditEvent.cs
- KoreanLunisolarCalendar.cs
- KeyProperty.cs
- SettingsBindableAttribute.cs
- ListViewTableCell.cs
- TableRowCollection.cs
- HealthMonitoringSection.cs
- DelayLoadType.cs
- ResourceType.cs
- FontWeights.cs
- ViewService.cs
- TextRangeEdit.cs
- InvokeGenerator.cs
- Thread.cs
- Encoder.cs
- HttpVersion.cs
- XamlLoadErrorInfo.cs
- ListViewUpdateEventArgs.cs
- BStrWrapper.cs
- WebPartConnectionsConnectVerb.cs
- ConstraintEnumerator.cs
- SemanticKeyElement.cs
- StrongName.cs