Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CompMod / System / ComponentModel / ContainerFilterService.cs / 1 / ContainerFilterService.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Security.Permissions; ////// The Container and NestedContainer classes will call GetService for ContainerFilterService /// each time they need to construct a Components collection for return to a caller. /// ContainerFilterService may return an updated collection of components. This allows /// an external service to modify the view of components that are returned from a container. /// [HostProtection(SharedState = true)] public abstract class ContainerFilterService { ////// protected ContainerFilterService() { } ////// Filters the components collection by optionally returning a new, modified collection. /// The default implementation returns the input collection, thereby performing no filtering. /// public virtual ComponentCollection FilterComponents(ComponentCollection components) { return components; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using System; using System.ComponentModel; using System.Security.Permissions; ////// The Container and NestedContainer classes will call GetService for ContainerFilterService /// each time they need to construct a Components collection for return to a caller. /// ContainerFilterService may return an updated collection of components. This allows /// an external service to modify the view of components that are returned from a container. /// [HostProtection(SharedState = true)] public abstract class ContainerFilterService { ////// protected ContainerFilterService() { } ////// Filters the components collection by optionally returning a new, modified collection. /// The default implementation returns the input collection, thereby performing no filtering. /// public virtual ComponentCollection FilterComponents(ComponentCollection components) { return components; } } } // 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
- SymbolMethod.cs
- XamlFigureLengthSerializer.cs
- SoapEnumAttribute.cs
- FusionWrap.cs
- FilterQuery.cs
- MediaTimeline.cs
- ScalarConstant.cs
- MimeMapping.cs
- ToggleButton.cs
- StorageMappingItemCollection.cs
- ToolStripOverflow.cs
- ResXBuildProvider.cs
- ViewEvent.cs
- DataKeyCollection.cs
- TreeNode.cs
- HttpListenerContext.cs
- DBDataPermissionAttribute.cs
- CollectionChangeEventArgs.cs
- QilTargetType.cs
- TransactionFlowAttribute.cs
- IODescriptionAttribute.cs
- ConditionCollection.cs
- SafeIUnknown.cs
- propertytag.cs
- FilterQueryOptionExpression.cs
- TypefaceMetricsCache.cs
- ContentWrapperAttribute.cs
- VirtualPath.cs
- TableLayout.cs
- FtpWebRequest.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- Mapping.cs
- TextEditorCopyPaste.cs
- CommandPlan.cs
- WindowsSidIdentity.cs
- ByteAnimation.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- ExpressionTable.cs
- BindingContext.cs
- TypedTableBaseExtensions.cs
- StickyNoteHelper.cs
- TableCell.cs
- PeerPresenceInfo.cs
- ThreadStaticAttribute.cs
- MenuAutomationPeer.cs
- InProcStateClientManager.cs
- FragmentQueryKB.cs
- GlobalProxySelection.cs
- DateTimeOffsetStorage.cs
- MappingModelBuildProvider.cs
- XmlBinaryReader.cs
- ToolStripPanelRenderEventArgs.cs
- Win32.cs
- RoleService.cs
- CqlIdentifiers.cs
- MessageDroppedTraceRecord.cs
- PropertyItemInternal.cs
- IdnMapping.cs
- DialogDivider.cs
- EdmFunction.cs
- BasicHttpMessageSecurity.cs
- AsyncWaitHandle.cs
- CompletedAsyncResult.cs
- NullPackagingPolicy.cs
- URLAttribute.cs
- HttpRequestCacheValidator.cs
- ScrollEvent.cs
- FocusManager.cs
- InvalidateEvent.cs
- EntitySqlQueryCacheEntry.cs
- PrintDocument.cs
- BindStream.cs
- VersionedStream.cs
- UseLicense.cs
- ContentFilePart.cs
- xdrvalidator.cs
- SignedInfo.cs
- InterleavedZipPartStream.cs
- OdbcParameter.cs
- BamlBinaryReader.cs
- EventProxy.cs
- XmlAttributes.cs
- SimpleTextLine.cs
- RecordManager.cs
- LiteralControl.cs
- KeyManager.cs
- PeerNameResolver.cs
- WpfWebRequestHelper.cs
- DbgUtil.cs
- RemoteCryptoDecryptRequest.cs
- ReferenceConverter.cs
- ColorAnimation.cs
- PointCollection.cs
- MessageSecurityTokenVersion.cs
- EventNotify.cs
- DelayLoadType.cs
- FontFamily.cs
- ToolStripStatusLabel.cs
- LicenseManager.cs
- TypeConverter.cs