Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / DelegateOutArgument.cs / 1305376 / DelegateOutArgument.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities { public abstract class DelegateOutArgument : DelegateArgument { internal DelegateOutArgument() : base() { this.Direction = ArgumentDirection.Out; } } public sealed class DelegateOutArgument: DelegateOutArgument { public DelegateOutArgument() : base() { } public DelegateOutArgument(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); } // Soft-Link: This method is referenced through reflection by // ExpressionUtilities.TryRewriteLambdaExpression. Update that // file if the signature changes. public new Location GetLocation(ActivityContext context) { if (context == null) { throw FxTrace.Exception.ArgumentNull("context"); } return context.GetLocation (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
- Grant.cs
- FlagsAttribute.cs
- StructuralComparisons.cs
- WSHttpBindingCollectionElement.cs
- UIElementParaClient.cs
- Typeface.cs
- ThreadPool.cs
- Graph.cs
- TypeInfo.cs
- HuffCodec.cs
- ScrollChangedEventArgs.cs
- GridViewRow.cs
- WebServicesSection.cs
- Separator.cs
- WmlControlAdapter.cs
- NavigationWindow.cs
- ErrorFormatterPage.cs
- Propagator.Evaluator.cs
- Point3DCollection.cs
- ImpersonateTokenRef.cs
- Cursors.cs
- SQLBytes.cs
- SourceFileInfo.cs
- DataGridViewCellValueEventArgs.cs
- EntityContainerAssociationSet.cs
- XPathArrayIterator.cs
- MailMessage.cs
- XmlSchemaExporter.cs
- DecimalConstantAttribute.cs
- Base64Encoding.cs
- FlowPosition.cs
- CustomErrorsSection.cs
- HyperLinkField.cs
- InternalConfigHost.cs
- BehaviorEditorPart.cs
- _RequestLifetimeSetter.cs
- ClickablePoint.cs
- EdmFunction.cs
- ExtenderControl.cs
- BamlCollectionHolder.cs
- TerminatorSinks.cs
- BamlRecordWriter.cs
- StrokeIntersection.cs
- ImageAnimator.cs
- PropVariant.cs
- FrugalMap.cs
- GridViewRow.cs
- NetNamedPipeBindingElement.cs
- BitmapFrame.cs
- DBProviderConfigurationHandler.cs
- DesignerToolStripControlHost.cs
- Select.cs
- RuntimeWrappedException.cs
- SafeCoTaskMem.cs
- DataGridViewCellParsingEventArgs.cs
- IntSecurity.cs
- TempFiles.cs
- Automation.cs
- AspNetSynchronizationContext.cs
- TypeConverterHelper.cs
- Atom10FormatterFactory.cs
- ImmutableObjectAttribute.cs
- LookupNode.cs
- MdImport.cs
- BinHexEncoder.cs
- DataControlImageButton.cs
- WorkItem.cs
- DisableDpiAwarenessAttribute.cs
- DataSourceControl.cs
- SimplePropertyEntry.cs
- DeriveBytes.cs
- HeaderCollection.cs
- CodeCatchClauseCollection.cs
- BorderSidesEditor.cs
- OracleConnectionString.cs
- XmlTextReader.cs
- KoreanCalendar.cs
- RegexCharClass.cs
- MessageSmuggler.cs
- TextTreeInsertElementUndoUnit.cs
- PenContext.cs
- CqlBlock.cs
- ConnectionsZone.cs
- HttpPostServerProtocol.cs
- SecurityKeyUsage.cs
- InputLanguageSource.cs
- Tag.cs
- ISO2022Encoding.cs
- DataControlField.cs
- ConditionalBranch.cs
- CryptoProvider.cs
- AssertUtility.cs
- InputScope.cs
- filewebrequest.cs
- XslCompiledTransform.cs
- MembershipSection.cs
- TextAutomationPeer.cs
- MetafileEditor.cs
- TextInfo.cs
- ClientUtils.cs