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
- MailAddress.cs
- HttpDebugHandler.cs
- ProcessModelInfo.cs
- SqlException.cs
- IndicShape.cs
- GeometryConverter.cs
- FormsAuthenticationCredentials.cs
- KnownTypesHelper.cs
- TimeStampChecker.cs
- CompilationRelaxations.cs
- ImageBrush.cs
- ObjectDataSourceSelectingEventArgs.cs
- ObfuscateAssemblyAttribute.cs
- LocatorManager.cs
- _ListenerResponseStream.cs
- XmlSchemaAny.cs
- BufferBuilder.cs
- configsystem.cs
- MSHTMLHost.cs
- EmptyEnumerator.cs
- EntityTypeEmitter.cs
- Comparer.cs
- ResourceDisplayNameAttribute.cs
- ContextInformation.cs
- ReaderWriterLockWrapper.cs
- ADConnectionHelper.cs
- SoapMessage.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- PixelShader.cs
- PipelineComponent.cs
- WebHttpDispatchOperationSelector.cs
- SelfIssuedAuthRSAPKCS1SignatureFormatter.cs
- MenuItem.cs
- PtsHelper.cs
- ProfileBuildProvider.cs
- LongValidator.cs
- SystemIcmpV6Statistics.cs
- TraceSection.cs
- MemberInfoSerializationHolder.cs
- Base64Encoder.cs
- FrameworkElementFactory.cs
- WorkflowOperationBehavior.cs
- FrameworkContextData.cs
- WmfPlaceableFileHeader.cs
- PermissionSetEnumerator.cs
- RectangleGeometry.cs
- CompositeActivityTypeDescriptorProvider.cs
- ByteArrayHelperWithString.cs
- SafeLibraryHandle.cs
- DesignerActionItemCollection.cs
- DataGridViewComboBoxCell.cs
- XPathNodeInfoAtom.cs
- RenderCapability.cs
- _LocalDataStoreMgr.cs
- ListViewInsertedEventArgs.cs
- ToolStripItemClickedEventArgs.cs
- StorageEndPropertyMapping.cs
- EntityDataSource.cs
- XmlPropertyBag.cs
- AutomationPeer.cs
- GenericUriParser.cs
- BamlReader.cs
- Pen.cs
- StreamWriter.cs
- AssemblyBuilder.cs
- AutoResizedEvent.cs
- ConnectionManagementElementCollection.cs
- SystemParameters.cs
- EventDescriptor.cs
- _DigestClient.cs
- FloatAverageAggregationOperator.cs
- DataServiceProcessingPipelineEventArgs.cs
- UriWriter.cs
- DateTime.cs
- ParserHooks.cs
- RegexInterpreter.cs
- IImplicitResourceProvider.cs
- XmlnsCache.cs
- ToolStripItem.cs
- Scene3D.cs
- SQlBooleanStorage.cs
- BinaryUtilClasses.cs
- Calendar.cs
- _ServiceNameStore.cs
- clipboard.cs
- ProvideValueServiceProvider.cs
- TextComposition.cs
- SignatureDescription.cs
- LogWriteRestartAreaAsyncResult.cs
- OrderedEnumerableRowCollection.cs
- WindowsPrincipal.cs
- DrawListViewSubItemEventArgs.cs
- RootDesignerSerializerAttribute.cs
- PointLight.cs
- SafePointer.cs
- PropertyTab.cs
- DialogResultConverter.cs
- ProvidersHelper.cs
- SqlDeflator.cs
- WindowCollection.cs