Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / DelegateInArgument.cs / 1305376 / DelegateInArgument.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities { public abstract class DelegateInArgument : DelegateArgument { internal DelegateInArgument() : base() { this.Direction = ArgumentDirection.In; } } public sealed class DelegateInArgument: DelegateInArgument { public DelegateInArgument() : base() { } public DelegateInArgument(string name) : base() { this.Name = name; } protected override Type TypeCore { get { return typeof(T); } } // Soft-Link: This method is referenced through reflection by // ExpressionUtilities.TryRewriteLambdaExpression. Update that // file if the signature changes. public new T Get(ActivityContext context) { if (context == null) { throw FxTrace.Exception.ArgumentNull("context"); } return context.GetValue ((LocationReference)this); } public void Set(ActivityContext context, T value) { if (context == null) { throw FxTrace.Exception.ArgumentNull("context"); } context.SetValue((LocationReference)this, value); } internal override Location CreateLocation() { return new Location (); } } } // 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
- _UncName.cs
- DocumentSequenceHighlightLayer.cs
- SqlTypeSystemProvider.cs
- ModuleConfigurationInfo.cs
- ConfigurationManagerInternalFactory.cs
- RepeatInfo.cs
- PeerObject.cs
- Internal.cs
- SecurityPermission.cs
- SqlCacheDependencySection.cs
- XPathAncestorIterator.cs
- ActivationArguments.cs
- DispatcherSynchronizationContext.cs
- XmlSchemaAttribute.cs
- FlowDocument.cs
- XmlILModule.cs
- UIPermission.cs
- VirtualizingStackPanel.cs
- BuilderInfo.cs
- XmlILModule.cs
- ReferenceTypeElement.cs
- _ContextAwareResult.cs
- ListItem.cs
- Hashtable.cs
- ZoneButton.cs
- PtsCache.cs
- PointAnimation.cs
- MyContact.cs
- CodeDomConfigurationHandler.cs
- NativeMethodsOther.cs
- PageThemeParser.cs
- RsaKeyGen.cs
- TypeUtil.cs
- ChineseLunisolarCalendar.cs
- VisualTreeUtils.cs
- SafeEventHandle.cs
- RangeContentEnumerator.cs
- DataSourceNameHandler.cs
- LineGeometry.cs
- LinearGradientBrush.cs
- Crc32Helper.cs
- TransactionInformation.cs
- SparseMemoryStream.cs
- AdornerHitTestResult.cs
- LayoutUtils.cs
- ScriptingSectionGroup.cs
- Vector3DAnimationBase.cs
- FormViewPagerRow.cs
- XmlC14NWriter.cs
- FileCodeGroup.cs
- ComponentGlyph.cs
- HttpContext.cs
- SortFieldComparer.cs
- PackageDigitalSignature.cs
- DotExpr.cs
- AdCreatedEventArgs.cs
- CollectionViewGroupInternal.cs
- DataTableReader.cs
- DescendantBaseQuery.cs
- DataRowComparer.cs
- CachedPathData.cs
- CodeCatchClauseCollection.cs
- ToolStripButton.cs
- SmiEventSink_DeferedProcessing.cs
- QuotedPairReader.cs
- ToolStripDropDown.cs
- OutputCacheSettingsSection.cs
- WebPartTransformerAttribute.cs
- XmlWriterTraceListener.cs
- CountdownEvent.cs
- ConnectionPointCookie.cs
- XsltConvert.cs
- LongValidator.cs
- AsyncWaitHandle.cs
- TraceFilter.cs
- DataGridViewToolTip.cs
- CodeCommentStatementCollection.cs
- CqlErrorHelper.cs
- MailSettingsSection.cs
- SystemResourceKey.cs
- MultiSelector.cs
- FigureParaClient.cs
- ExeContext.cs
- XmlTextAttribute.cs
- NullableFloatMinMaxAggregationOperator.cs
- EventLogEntryCollection.cs
- QueryRewriter.cs
- HtmlWindow.cs
- RegexRunnerFactory.cs
- OperationResponse.cs
- Size.cs
- WriterOutput.cs
- FactoryMaker.cs
- LexicalChunk.cs
- MeasurementDCInfo.cs
- StrongNameMembershipCondition.cs
- AttributeUsageAttribute.cs
- TraceSwitch.cs
- Variable.cs
- PixelFormat.cs