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
- streamingZipPartStream.cs
- ContentTextAutomationPeer.cs
- AutomationElementCollection.cs
- HtmlEmptyTagControlBuilder.cs
- ColorConvertedBitmap.cs
- ClassHandlersStore.cs
- PermissionRequestEvidence.cs
- UserNamePasswordValidator.cs
- WebServiceMethodData.cs
- listitem.cs
- NullableFloatMinMaxAggregationOperator.cs
- FormsAuthenticationEventArgs.cs
- InkCanvasSelection.cs
- ContentPresenter.cs
- AttributeParameterInfo.cs
- IssuanceLicense.cs
- MachineKeySection.cs
- SoapFormatExtensions.cs
- TextFindEngine.cs
- DCSafeHandle.cs
- RuntimeConfig.cs
- UrlAuthFailedErrorFormatter.cs
- DataGridCell.cs
- SvcMapFile.cs
- XmlUTF8TextReader.cs
- StylusPointProperty.cs
- CodeSnippetTypeMember.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- CommonXSendMessage.cs
- TransactionFlowBindingElement.cs
- GB18030Encoding.cs
- SmiEventStream.cs
- ToolStripRenderEventArgs.cs
- GPStream.cs
- LockCookie.cs
- MetadataImporter.cs
- ExternalException.cs
- HostExecutionContextManager.cs
- RangeValuePattern.cs
- LogEntryHeaderSerializer.cs
- LazyInitializer.cs
- TypeConverterValueSerializer.cs
- DropTarget.cs
- AxHost.cs
- AssemblyGen.cs
- Sequence.cs
- NetCodeGroup.cs
- EntityClientCacheKey.cs
- MSG.cs
- WebPartConnectionsCloseVerb.cs
- HtmlWindow.cs
- Point.cs
- ChameleonKey.cs
- HyperLinkField.cs
- DecoderBestFitFallback.cs
- PublisherMembershipCondition.cs
- GeneralTransform3DCollection.cs
- DiscoveryReference.cs
- XPathSingletonIterator.cs
- ExtendedPropertyDescriptor.cs
- WithStatement.cs
- ConsoleKeyInfo.cs
- ListItemParagraph.cs
- ImageListStreamer.cs
- mediapermission.cs
- Native.cs
- NullableIntAverageAggregationOperator.cs
- OdbcStatementHandle.cs
- SHA1CryptoServiceProvider.cs
- WindowsStreamSecurityBindingElement.cs
- DataTableExtensions.cs
- Scheduling.cs
- XslException.cs
- ProxyGenerationError.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- StatusBar.cs
- DispatcherExceptionEventArgs.cs
- WsdlParser.cs
- DataGridViewTextBoxColumn.cs
- ListControl.cs
- TryExpression.cs
- WpfXamlType.cs
- MessageTraceRecord.cs
- DBSqlParserTable.cs
- FlowchartDesignerCommands.cs
- Quaternion.cs
- SqlTriggerAttribute.cs
- WmlImageAdapter.cs
- CodeNamespaceImport.cs
- ViewGenResults.cs
- SafePEFileHandle.cs
- IBuiltInEvidence.cs
- VirtualPath.cs
- XamlVector3DCollectionSerializer.cs
- Missing.cs
- XsdValidatingReader.cs
- MediaCommands.cs
- DoubleLinkList.cs
- WsatConfiguration.cs
- TextWriterTraceListener.cs