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
- TableRowCollection.cs
- BaseProcessor.cs
- OracleConnectionFactory.cs
- StorageEntityTypeMapping.cs
- IndentedWriter.cs
- BinarySecretKeyIdentifierClause.cs
- ReachIDocumentPaginatorSerializer.cs
- XLinq.cs
- DataError.cs
- RichTextBox.cs
- DataGridLengthConverter.cs
- SqlDataReaderSmi.cs
- WebPartActionVerb.cs
- ContentElement.cs
- ReachFixedPageSerializerAsync.cs
- Dynamic.cs
- TextEditorSelection.cs
- MarkupCompilePass1.cs
- TextEffect.cs
- Converter.cs
- XNodeValidator.cs
- AppDomainGrammarProxy.cs
- EntityModelSchemaGenerator.cs
- EventBindingService.cs
- DrawingGroup.cs
- IListConverters.cs
- TCPListener.cs
- WindowsToolbarItemAsMenuItem.cs
- SqlDataSourceSelectingEventArgs.cs
- MetadataCollection.cs
- TextServicesCompartmentEventSink.cs
- DomainConstraint.cs
- MenuItemBindingCollection.cs
- StreamWithDictionary.cs
- ExtensionQuery.cs
- ModelTreeEnumerator.cs
- HtmlInputCheckBox.cs
- NullableDecimalMinMaxAggregationOperator.cs
- ToolStripItemClickedEventArgs.cs
- AttachedAnnotationChangedEventArgs.cs
- MexTcpBindingElement.cs
- Types.cs
- FieldNameLookup.cs
- RectConverter.cs
- TdsRecordBufferSetter.cs
- AnnotationResource.cs
- HtmlButton.cs
- LiteralTextContainerControlBuilder.cs
- TypeNameConverter.cs
- PropertyPushdownHelper.cs
- UIElement3DAutomationPeer.cs
- HttpContextWrapper.cs
- safelinkcollection.cs
- SqlDataSourceStatusEventArgs.cs
- _LoggingObject.cs
- DocumentNUp.cs
- MissingManifestResourceException.cs
- Win32SafeHandles.cs
- ExceptionRoutedEventArgs.cs
- ButtonBaseAdapter.cs
- WorkflowWebHostingModule.cs
- Header.cs
- XmlTypeAttribute.cs
- Cell.cs
- LiteralControl.cs
- JoinGraph.cs
- Permission.cs
- TypeContext.cs
- SelectionRange.cs
- XmlMapping.cs
- Size.cs
- MdbDataFileEditor.cs
- AssemblyBuilderData.cs
- ObjectDataSourceSelectingEventArgs.cs
- TableRowCollection.cs
- WasHttpModulesInstallComponent.cs
- SystemIcmpV6Statistics.cs
- ApplicationManager.cs
- WinEventHandler.cs
- SqlDataSourceView.cs
- OpenCollectionAsyncResult.cs
- PresentationUIStyleResources.cs
- SocketElement.cs
- IDReferencePropertyAttribute.cs
- XPathSelectionIterator.cs
- ExpressionBuilder.cs
- ActivityXamlServices.cs
- BaseTreeIterator.cs
- HtmlTableCell.cs
- ColorMap.cs
- DataListItemCollection.cs
- AuthenticationService.cs
- RightsManagementPermission.cs
- DataList.cs
- PauseStoryboard.cs
- HotSpotCollection.cs
- HashCodeCombiner.cs
- ConfigurationSection.cs
- RuntimeConfig.cs
- DragStartedEventArgs.cs