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
- FormatException.cs
- PropertyNames.cs
- SuspendDesigner.cs
- DoubleAnimationBase.cs
- InstalledFontCollection.cs
- XmlText.cs
- HitTestParameters.cs
- ServiceActivationException.cs
- FormViewDeleteEventArgs.cs
- DomainConstraint.cs
- KeyedHashAlgorithm.cs
- DataTableReaderListener.cs
- RawStylusActions.cs
- PropertyValueUIItem.cs
- WebBrowsableAttribute.cs
- LongMinMaxAggregationOperator.cs
- TypeDependencyAttribute.cs
- StateRuntime.cs
- SecurityRuntime.cs
- Matrix3D.cs
- Int32Converter.cs
- XmlSchemaParticle.cs
- TypeSchema.cs
- ConstraintCollection.cs
- WindowsScroll.cs
- ProcessModelSection.cs
- ParallelTimeline.cs
- PropertyBuilder.cs
- Context.cs
- CodeArrayIndexerExpression.cs
- StreamInfo.cs
- DataTableTypeConverter.cs
- SQLChars.cs
- SoapParser.cs
- Encoder.cs
- AliasGenerator.cs
- Matrix3D.cs
- MediaTimeline.cs
- ActivityValidator.cs
- TextRangeEdit.cs
- InProcStateClientManager.cs
- Vector3D.cs
- RequestResizeEvent.cs
- MarkupObject.cs
- ExtractedStateEntry.cs
- ProgressPage.cs
- Rotation3D.cs
- OdbcUtils.cs
- Image.cs
- SQLResource.cs
- ManagementEventWatcher.cs
- CollectionChangeEventArgs.cs
- SafeThemeHandle.cs
- QilStrConcat.cs
- ParsedRoute.cs
- ListViewGroupConverter.cs
- PagePropertiesChangingEventArgs.cs
- ClientSettingsSection.cs
- GroupBoxRenderer.cs
- UserPreferenceChangingEventArgs.cs
- WebPartZone.cs
- HMACRIPEMD160.cs
- AssemblyFilter.cs
- BridgeDataReader.cs
- WebPartConnectionsDisconnectVerb.cs
- DynamicResourceExtension.cs
- LayoutSettings.cs
- DiagnosticsConfiguration.cs
- Size3D.cs
- COM2IDispatchConverter.cs
- BaseDataListPage.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- GcSettings.cs
- ThemeDictionaryExtension.cs
- FixedFlowMap.cs
- GradientStopCollection.cs
- IisTraceListener.cs
- _LocalDataStore.cs
- ConfigurationSectionGroup.cs
- PolicyLevel.cs
- SerTrace.cs
- SimpleWebHandlerParser.cs
- RelationshipManager.cs
- MyContact.cs
- Encoder.cs
- LinkedList.cs
- BulletedListEventArgs.cs
- XmlNodeReader.cs
- StructuralCache.cs
- _SslState.cs
- RelativeSource.cs
- Metafile.cs
- Marshal.cs
- StringUtil.cs
- EntityViewGenerator.cs
- SizeChangedEventArgs.cs
- BitmapImage.cs
- StrokeNode.cs
- EmptyArray.cs
- EventMappingSettings.cs