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
- DecoratedNameAttribute.cs
- DeferredRunTextReference.cs
- ButtonPopupAdapter.cs
- CommunicationObjectFaultedException.cs
- ListenerElementsCollection.cs
- WorkflowOperationAsyncResult.cs
- TableLayoutPanelCellPosition.cs
- PointAnimation.cs
- SqlDataSourceCommandEventArgs.cs
- Common.cs
- ProviderMetadata.cs
- ValidatorAttribute.cs
- InkCollectionBehavior.cs
- Brush.cs
- Listener.cs
- XmlAttributeOverrides.cs
- FixedDocumentPaginator.cs
- ColorConvertedBitmap.cs
- WebPartEditorOkVerb.cs
- initElementDictionary.cs
- SymmetricSecurityProtocol.cs
- RichTextBoxConstants.cs
- GridViewCommandEventArgs.cs
- XmlAggregates.cs
- ReadWriteSpinLock.cs
- TableLayoutPanel.cs
- PlacementWorkspace.cs
- ExceptionTrace.cs
- MaskedTextBoxDesigner.cs
- PriorityBindingExpression.cs
- SqlConnectionStringBuilder.cs
- CompilationLock.cs
- MenuRendererStandards.cs
- OpacityConverter.cs
- PlaceHolder.cs
- DataSpaceManager.cs
- Assembly.cs
- MbpInfo.cs
- DisplayInformation.cs
- GridSplitterAutomationPeer.cs
- CqlLexerHelpers.cs
- SimpleHandlerBuildProvider.cs
- GlyphingCache.cs
- DataServicePagingProviderWrapper.cs
- TableRow.cs
- ColorTranslator.cs
- FormViewPagerRow.cs
- NullableLongAverageAggregationOperator.cs
- CompositeScriptReferenceEventArgs.cs
- __ComObject.cs
- DataGridSortCommandEventArgs.cs
- SoapExtensionImporter.cs
- DynamicRenderer.cs
- ImpersonateTokenRef.cs
- NamespaceDecl.cs
- OletxDependentTransaction.cs
- SymmetricAlgorithm.cs
- AuthorizationSection.cs
- XmlDataProvider.cs
- Conditional.cs
- FrameworkContextData.cs
- DbProviderServices.cs
- ErrorWrapper.cs
- Span.cs
- TextServicesDisplayAttributePropertyRanges.cs
- CachedTypeface.cs
- ZipIOModeEnforcingStream.cs
- LockedActivityGlyph.cs
- MILUtilities.cs
- MethodRental.cs
- PassportAuthentication.cs
- KnownColorTable.cs
- RequiredAttributeAttribute.cs
- PagedDataSource.cs
- SortAction.cs
- CheckoutException.cs
- FragmentNavigationEventArgs.cs
- ResourceDescriptionAttribute.cs
- StringArrayEditor.cs
- FileSystemInfo.cs
- XmlAttributes.cs
- NCryptNative.cs
- CategoryAttribute.cs
- WmiPutTraceRecord.cs
- SemanticKeyElement.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- TypeBinaryExpression.cs
- KeyboardDevice.cs
- PersonalizationDictionary.cs
- CqlParser.cs
- odbcmetadatacolumnnames.cs
- SettingsBindableAttribute.cs
- SmtpNegotiateAuthenticationModule.cs
- EventSetter.cs
- TraceContextRecord.cs
- Viewport3DVisual.cs
- StackBuilderSink.cs
- columnmapfactory.cs
- BitmapSource.cs
- BindStream.cs