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
- TreeView.cs
- QilName.cs
- CaseInsensitiveHashCodeProvider.cs
- TextPattern.cs
- XmlCollation.cs
- DataGridViewElement.cs
- XmlDomTextWriter.cs
- RightsManagementInformation.cs
- KnownTypesProvider.cs
- LocalizabilityAttribute.cs
- TabItem.cs
- PenCursorManager.cs
- WhereQueryOperator.cs
- PriorityChain.cs
- DataBindingCollection.cs
- CriticalHandle.cs
- Misc.cs
- CultureTable.cs
- Schema.cs
- EntityContainer.cs
- DbModificationCommandTree.cs
- PersonalizableAttribute.cs
- _SSPISessionCache.cs
- SystemGatewayIPAddressInformation.cs
- Geometry3D.cs
- HostProtectionPermission.cs
- FrameworkTextComposition.cs
- ObjectHelper.cs
- ReadContentAsBinaryHelper.cs
- EventSetterHandlerConverter.cs
- SelectionItemProviderWrapper.cs
- HwndPanningFeedback.cs
- ToolStripGripRenderEventArgs.cs
- SafeNativeMethodsOther.cs
- ReferenceService.cs
- GeneralTransform3DTo2D.cs
- XmlNavigatorStack.cs
- AmbientProperties.cs
- XmlNamespaceManager.cs
- TranslateTransform3D.cs
- GrammarBuilderWildcard.cs
- WebPartMenuStyle.cs
- Deserializer.cs
- GeneratedCodeAttribute.cs
- DataContractJsonSerializer.cs
- ReflectionUtil.cs
- CodeVariableReferenceExpression.cs
- Setter.cs
- XmlSecureResolver.cs
- RenderData.cs
- PhysicalOps.cs
- InputLangChangeRequestEvent.cs
- XmlDictionaryReader.cs
- _LazyAsyncResult.cs
- ExpanderAutomationPeer.cs
- XmlEntity.cs
- NextPreviousPagerField.cs
- HttpResponseInternalBase.cs
- WebScriptServiceHostFactory.cs
- FixedSOMLineRanges.cs
- ArgumentNullException.cs
- ToolStripItemCollection.cs
- ResourceWriter.cs
- JavaScriptObjectDeserializer.cs
- ToolBarButton.cs
- TogglePattern.cs
- Metadata.cs
- ParsedAttributeCollection.cs
- ProcessHost.cs
- Documentation.cs
- KeyPressEvent.cs
- NameValueConfigurationCollection.cs
- TemplatePropertyEntry.cs
- TimeSpan.cs
- BaseCAMarshaler.cs
- KeyInfo.cs
- WindowsSolidBrush.cs
- ClockController.cs
- ValidatorCompatibilityHelper.cs
- UIElementIsland.cs
- DataGridTemplateColumn.cs
- TransformGroup.cs
- InputProviderSite.cs
- DataStorage.cs
- KnownBoxes.cs
- DefaultEvaluationContext.cs
- NumericUpDownAcceleration.cs
- ContentControl.cs
- SystemWebExtensionsSectionGroup.cs
- TrimSurroundingWhitespaceAttribute.cs
- GlobalEventManager.cs
- RegularExpressionValidator.cs
- ServiceParser.cs
- TokenBasedSetEnumerator.cs
- _OSSOCK.cs
- EUCJPEncoding.cs
- HtmlInputButton.cs
- cookie.cs
- WindowsSlider.cs
- SafeViewOfFileHandle.cs