Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / XamlIntegration / OutArgumentConverter.cs / 1305376 / OutArgumentConverter.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities.XamlIntegration { using System; using System.ComponentModel; using System.Windows.Markup; public sealed class OutArgumentConverter : TypeConverterBase { public OutArgumentConverter() : base(typeof(OutArgument<>), typeof(OutArgumentConverterHelper<>)) { } public OutArgumentConverter(Type type) : base(type, typeof(OutArgument < > ), typeof(OutArgumentConverterHelper < > )) { } internal sealed class OutArgumentConverterHelper: TypeConverterHelper > { ActivityWithResultConverter.ExpressionConverterHelper > expressionHelper; public OutArgumentConverterHelper() { this.expressionHelper = new ActivityWithResultConverter.ExpressionConverterHelper >(true); } public override OutArgument ConvertFromString(string text, ITypeDescriptorContext context) { return new OutArgument { 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
- BufferedGraphicsContext.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SignedPkcs7.cs
- LambdaExpression.cs
- EditableTreeList.cs
- UntrustedRecipientException.cs
- PageAsyncTaskManager.cs
- DataSourceXmlClassAttribute.cs
- FontFamily.cs
- PasswordRecovery.cs
- AccessibleObject.cs
- DataTemplateKey.cs
- SeparatorAutomationPeer.cs
- DisplayNameAttribute.cs
- ExpressionVisitor.cs
- IntegerValidatorAttribute.cs
- TextDecorationCollectionConverter.cs
- DBSqlParser.cs
- WeakReferenceList.cs
- propertytag.cs
- Merger.cs
- OdbcConnectionStringbuilder.cs
- DataRowView.cs
- UiaCoreTypesApi.cs
- Predicate.cs
- EndOfStreamException.cs
- SchemaImporter.cs
- LinqDataSourceDeleteEventArgs.cs
- SqlProcedureAttribute.cs
- CompositeScriptReferenceEventArgs.cs
- HtmlInputHidden.cs
- ValueUtilsSmi.cs
- ISAPIWorkerRequest.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- KeyTime.cs
- _FtpControlStream.cs
- SqlMethodCallConverter.cs
- LocatorPartList.cs
- Int64AnimationBase.cs
- SetterBase.cs
- ImageField.cs
- SiteOfOriginContainer.cs
- FullTrustAssembliesSection.cs
- BoundsDrawingContextWalker.cs
- CursorConverter.cs
- PrinterUnitConvert.cs
- WebBrowserProgressChangedEventHandler.cs
- ConfigurationLocation.cs
- IResourceProvider.cs
- TransformerInfo.cs
- CharEnumerator.cs
- InvalidOleVariantTypeException.cs
- CountAggregationOperator.cs
- SqlFormatter.cs
- SqlDependencyUtils.cs
- BitStream.cs
- LoadGrammarCompletedEventArgs.cs
- MetaColumn.cs
- XmlUrlResolver.cs
- UpDownEvent.cs
- _KerberosClient.cs
- WinFormsSecurity.cs
- ComponentConverter.cs
- CompletionProxy.cs
- VirtualizedContainerService.cs
- GlyphInfoList.cs
- NamedElement.cs
- WebServiceAttribute.cs
- PropertyChangedEventArgs.cs
- NegationPusher.cs
- pingexception.cs
- LinkButton.cs
- OrCondition.cs
- mediaeventshelper.cs
- ObjectMemberMapping.cs
- SplayTreeNode.cs
- ResourceAttributes.cs
- QueueException.cs
- StateChangeEvent.cs
- StringValidator.cs
- EntityStoreSchemaGenerator.cs
- Wizard.cs
- CodeBlockBuilder.cs
- ScrollPattern.cs
- RecognizedWordUnit.cs
- CompilerCollection.cs
- AssociationTypeEmitter.cs
- Timeline.cs
- SqlTransaction.cs
- Table.cs
- DelegatedStream.cs
- ProcessHostMapPath.cs
- RtType.cs
- PnrpPermission.cs
- WorkflowRuntimeSection.cs
- CustomError.cs
- safex509handles.cs
- IPPacketInformation.cs
- QilSortKey.cs
- Application.cs