Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.Activities / System / Activities / RuntimeDelegateArgument.cs / 1305376 / RuntimeDelegateArgument.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.Activities { using System; using System.Activities.Validation; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Runtime; // DelegateArgument is the XAML-based construct. RuntimeDelegateArgument is a binding construct to store the value [Fx.Tag.XamlVisible(false)] public sealed class RuntimeDelegateArgument { public RuntimeDelegateArgument(string name, Type type, ArgumentDirection direction, DelegateArgument boundArgument) { if (string.IsNullOrEmpty(name)) { throw FxTrace.Exception.ArgumentNullOrEmpty("name"); } if (type == null) { throw FxTrace.Exception.ArgumentNull("type"); } ArgumentDirectionHelper.Validate(direction, "direction"); if (boundArgument != null) { // Validations that the bound argument matches are done // in CacheMetadata for ActivityDelegate. boundArgument.Bind(this); } this.Name = name; this.Type = type; this.Direction = direction; this.BoundArgument = boundArgument; } public string Name { get; private set; } [SuppressMessage(FxCop.Category.Naming, FxCop.Rule.PropertyNamesShouldNotMatchGetMethods, Justification = "Workflow normalizes on Type for Type properties")] public Type Type { get; private set; } public ArgumentDirection Direction { get; private set; } public DelegateArgument BoundArgument { get; private set; } } } // 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
- DurableOperationContext.cs
- StorageBasedPackageProperties.cs
- LocalizationParserHooks.cs
- SystemBrushes.cs
- SmtpFailedRecipientException.cs
- Label.cs
- IDQuery.cs
- MD5.cs
- PkcsMisc.cs
- AbstractSvcMapFileLoader.cs
- FrameworkElement.cs
- Line.cs
- HtmlInputFile.cs
- WindowsFont.cs
- BrowserCapabilitiesFactoryBase.cs
- LeftCellWrapper.cs
- COM2IDispatchConverter.cs
- SystemIcons.cs
- IndexedString.cs
- GeometryConverter.cs
- XmlNamespaceMappingCollection.cs
- Bookmark.cs
- HandledEventArgs.cs
- EventPrivateKey.cs
- PenCursorManager.cs
- CqlIdentifiers.cs
- MethodBuilder.cs
- SequenceFullException.cs
- EntityStoreSchemaFilterEntry.cs
- ListControl.cs
- ToolboxItemCollection.cs
- MimeReturn.cs
- SafeCertificateContext.cs
- NodeInfo.cs
- NameValueCache.cs
- EntityAdapter.cs
- SecurityTokenTypes.cs
- Lasso.cs
- QueueAccessMode.cs
- SqlBuffer.cs
- ParenExpr.cs
- ToolStripPanelRow.cs
- TextBox.cs
- NamespaceTable.cs
- SQLGuidStorage.cs
- InputScopeConverter.cs
- DrawToolTipEventArgs.cs
- OrCondition.cs
- TableLayoutSettings.cs
- ToolStripManager.cs
- HealthMonitoringSection.cs
- WizardPanel.cs
- TypeValidationEventArgs.cs
- PenContext.cs
- DateTimeStorage.cs
- WebDescriptionAttribute.cs
- Timer.cs
- SiteMapNodeItemEventArgs.cs
- DetailsViewCommandEventArgs.cs
- Nullable.cs
- mansign.cs
- KoreanLunisolarCalendar.cs
- CompiledScopeCriteria.cs
- LinqDataSourceDisposeEventArgs.cs
- Hyperlink.cs
- CompilationUnit.cs
- StateItem.cs
- ListDictionaryInternal.cs
- OracleDataAdapter.cs
- ObjectListFieldCollection.cs
- TrackingDataItemValue.cs
- BrushMappingModeValidation.cs
- ServiceOperation.cs
- HandlerFactoryCache.cs
- ProfileServiceManager.cs
- CustomAttributeBuilder.cs
- DelegatingTypeDescriptionProvider.cs
- ExitEventArgs.cs
- Tuple.cs
- Tuple.cs
- Array.cs
- DtdParser.cs
- PathParser.cs
- DelayedRegex.cs
- HeaderedContentControl.cs
- _NetRes.cs
- UrlMappingCollection.cs
- TriggerBase.cs
- ListViewUpdatedEventArgs.cs
- ReceiveActivityDesigner.cs
- ArraySegment.cs
- XmlSigningNodeWriter.cs
- MapPathBasedVirtualPathProvider.cs
- EventLogEntry.cs
- SqlBulkCopyColumnMapping.cs
- DesignTimeParseData.cs
- FileRecordSequenceCompletedAsyncResult.cs
- GeometryHitTestParameters.cs
- HtmlPhoneCallAdapter.cs
- ObjectViewEntityCollectionData.cs