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
- ProviderConnectionPointCollection.cs
- OdbcRowUpdatingEvent.cs
- SkipQueryOptionExpression.cs
- ToolStripDropDownClosedEventArgs.cs
- ListView.cs
- Queue.cs
- ControlBuilder.cs
- JumpPath.cs
- CodeCommentStatement.cs
- CompModSwitches.cs
- XamlWriter.cs
- ToolStripDesignerUtils.cs
- AbstractExpressions.cs
- selecteditemcollection.cs
- RequestCachingSection.cs
- ApplicationServicesHostFactory.cs
- TrackingExtract.cs
- ArithmeticLiteral.cs
- Point3DCollectionConverter.cs
- GridViewRowEventArgs.cs
- EncryptedReference.cs
- _ShellExpression.cs
- TabControl.cs
- FrameworkTextComposition.cs
- ObjectViewEntityCollectionData.cs
- DispatcherEventArgs.cs
- SQLString.cs
- configsystem.cs
- baseaxisquery.cs
- TextRunProperties.cs
- DelimitedListTraceListener.cs
- XPathParser.cs
- MethodBody.cs
- FilterInvalidBodyAccessException.cs
- ArraySegment.cs
- XmlIlVisitor.cs
- ImageButton.cs
- HtmlInputSubmit.cs
- UnitySerializationHolder.cs
- CompositeTypefaceMetrics.cs
- Membership.cs
- MemberPathMap.cs
- PropertyRecord.cs
- WebPartTransformer.cs
- CodeGenerator.cs
- TargetException.cs
- XmlAttributeOverrides.cs
- FormsAuthenticationModule.cs
- ScriptServiceAttribute.cs
- TextEditorSelection.cs
- XmlObjectSerializerContext.cs
- CompareValidator.cs
- SettingsPropertyCollection.cs
- FontResourceCache.cs
- ColorAnimation.cs
- GenericAuthenticationEventArgs.cs
- PackagePartCollection.cs
- MailBnfHelper.cs
- Function.cs
- ParserHooks.cs
- ConfigurationElement.cs
- CodeValidator.cs
- WeakKeyDictionary.cs
- FixedFlowMap.cs
- DataControlFieldCell.cs
- OpenFileDialog.cs
- DtrList.cs
- SecurityDocument.cs
- Camera.cs
- DoubleCollectionValueSerializer.cs
- HashAlgorithm.cs
- MouseActionValueSerializer.cs
- SplineQuaternionKeyFrame.cs
- DnsCache.cs
- IsolatedStorage.cs
- RedirectionProxy.cs
- ByteStream.cs
- TrackBar.cs
- SamlDoNotCacheCondition.cs
- ToolBarButtonDesigner.cs
- WebPartTransformer.cs
- DataGridViewAccessibleObject.cs
- RuleSettings.cs
- PathHelper.cs
- ApplicationInterop.cs
- DbConnectionFactory.cs
- DrawListViewItemEventArgs.cs
- BasicDesignerLoader.cs
- HandleCollector.cs
- EncoderExceptionFallback.cs
- FileVersionInfo.cs
- BitmapEffect.cs
- BinaryFormatterWriter.cs
- NameValueCache.cs
- TdsParserHelperClasses.cs
- sortedlist.cs
- WizardPanelChangingEventArgs.cs
- StoreContentChangedEventArgs.cs
- IOException.cs
- TargetConverter.cs