Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WF / Common / AuthoringOM / Behaviors / TransactionScopeDesigner.cs / 1305376 / TransactionScopeDesigner.cs
namespace System.Workflow.ComponentModel.Design { using System; using System.Drawing; using System.Drawing.Drawing2D; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.ComponentModel.Design; using System.Workflow.ComponentModel.Design; #region Class TransactionScopeActivityDesigner internal sealed class TransactionScopeActivityDesigner : SequenceDesigner { public override ReadOnlyCollectionViews { get { List views = new List (); foreach (DesignerView view in base.Views) { // disable the exceptions view and cancellation handler view Type activityType = view.UserData[SecondaryView.UserDataKey_ActivityType] as Type; if (activityType != null && !typeof(CancellationHandlerActivity).IsAssignableFrom(activityType) && !typeof(FaultHandlersActivity).IsAssignableFrom(activityType)) { views.Add(view); } } return new ReadOnlyCollection (views); } } } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextDocumentView.cs
- elementinformation.cs
- SqlDataSourceView.cs
- XmlHierarchyData.cs
- SafeNativeMemoryHandle.cs
- SQLInt32Storage.cs
- TreeIterator.cs
- dtdvalidator.cs
- HtmlControlPersistable.cs
- FaultException.cs
- UpdateExpressionVisitor.cs
- WebPartHelpVerb.cs
- MeasureData.cs
- SerialReceived.cs
- BmpBitmapEncoder.cs
- ChannelCacheSettings.cs
- CustomAttributeSerializer.cs
- RoleGroup.cs
- BufferedReadStream.cs
- CustomCredentialPolicy.cs
- DynamicMethod.cs
- SqlTrackingQuery.cs
- PagePropertiesChangingEventArgs.cs
- NativeRightsManagementAPIsStructures.cs
- ZipIOLocalFileBlock.cs
- AttributeCallbackBuilder.cs
- ContextBase.cs
- XPathDocumentIterator.cs
- AdRotatorDesigner.cs
- RichTextBoxConstants.cs
- IItemProperties.cs
- PrintingPermission.cs
- EntityDataSourceSelectedEventArgs.cs
- SrgsNameValueTag.cs
- HttpDictionary.cs
- ProjectionPathBuilder.cs
- Utility.cs
- LogicalChannel.cs
- TableLayoutPanelBehavior.cs
- DateTimeParse.cs
- SmiEventSink_Default.cs
- PagesChangedEventArgs.cs
- CachedPathData.cs
- ListDictionaryInternal.cs
- CustomAttribute.cs
- RotationValidation.cs
- HtmlSelectionListAdapter.cs
- DocumentViewer.cs
- KnownIds.cs
- AuthorizationSection.cs
- FunctionNode.cs
- ObjectIDGenerator.cs
- UniqueConstraint.cs
- OutputCacheSettingsSection.cs
- IndexOutOfRangeException.cs
- ServiceObjectContainer.cs
- PrePrepareMethodAttribute.cs
- XmlParserContext.cs
- ManipulationLogic.cs
- AnnotationAuthorChangedEventArgs.cs
- RawStylusSystemGestureInputReport.cs
- StringOutput.cs
- CSharpCodeProvider.cs
- CacheHelper.cs
- TemplateComponentConnector.cs
- ResourceSet.cs
- TreeNodeConverter.cs
- RoleGroupCollectionEditor.cs
- SqlCacheDependencyDatabaseCollection.cs
- TableLayoutPanel.cs
- RotateTransform3D.cs
- ContextBase.cs
- WorkflowMarkupSerializer.cs
- CodeObject.cs
- ProxyAttribute.cs
- WebPartExportVerb.cs
- ParameterRefs.cs
- SQLString.cs
- OLEDB_Enum.cs
- PersonalizationProviderCollection.cs
- PenLineJoinValidation.cs
- Config.cs
- TeredoHelper.cs
- CacheVirtualItemsEvent.cs
- SequenceFullException.cs
- DataGridViewCellConverter.cs
- TransformerInfoCollection.cs
- GridViewCellAutomationPeer.cs
- TextureBrush.cs
- CssClassPropertyAttribute.cs
- CardSpacePolicyElement.cs
- OletxResourceManager.cs
- diagnosticsswitches.cs
- LabelLiteral.cs
- IntegerFacetDescriptionElement.cs
- TypeToArgumentTypeConverter.cs
- CompilerState.cs
- IList.cs
- PerfService.cs
- ConfigViewGenerator.cs