Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ContainerFilterService.cs / 1305376 / 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
- _UncName.cs
- Figure.cs
- PartBasedPackageProperties.cs
- MultiBinding.cs
- BaseParagraph.cs
- FacetChecker.cs
- ExpressionBuilderContext.cs
- ComboBox.cs
- EntityDataSourceStatementEditor.cs
- NavigationProperty.cs
- WebPartEditorCancelVerb.cs
- LeaseManager.cs
- StructuredTypeInfo.cs
- ElementUtil.cs
- BeginStoryboard.cs
- _BasicClient.cs
- VisualBrush.cs
- WindowsFormsHelpers.cs
- FormViewModeEventArgs.cs
- TaskbarItemInfo.cs
- WebPartExportVerb.cs
- SafeArrayRankMismatchException.cs
- WebPartDisplayModeCancelEventArgs.cs
- SystemColors.cs
- OdbcDataAdapter.cs
- GeneralTransform3DTo2D.cs
- PrimitiveType.cs
- AssemblyAssociatedContentFileAttribute.cs
- StrokeCollection2.cs
- OleDbCommandBuilder.cs
- PagePropertiesChangingEventArgs.cs
- DataGridViewCellStyle.cs
- SafeBitVector32.cs
- TextChange.cs
- ContentTypeSettingDispatchMessageFormatter.cs
- SourceFileBuildProvider.cs
- OdbcEnvironment.cs
- CommunicationObjectAbortedException.cs
- TypeRefElement.cs
- UrlMappingsSection.cs
- DataGridColumnsPage.cs
- EntityDataSourceView.cs
- MapPathBasedVirtualPathProvider.cs
- ChtmlTextBoxAdapter.cs
- DomainLiteralReader.cs
- DesignerDataTableBase.cs
- RemoteEndpointMessageProperty.cs
- TemplateLookupAction.cs
- ComNativeDescriptor.cs
- ReplyChannelAcceptor.cs
- DataReaderContainer.cs
- RemoteX509Token.cs
- NameSpaceEvent.cs
- CompressStream.cs
- RegionInfo.cs
- MenuScrollingVisibilityConverter.cs
- ButtonField.cs
- FlowPanelDesigner.cs
- CalendarAutoFormatDialog.cs
- CapabilitiesUse.cs
- PersonalizationProviderCollection.cs
- UpdateManifestForBrowserApplication.cs
- NavigationExpr.cs
- CommonServiceBehaviorElement.cs
- OneOf.cs
- CharEntityEncoderFallback.cs
- WriteableBitmap.cs
- GeometryHitTestResult.cs
- XmlLangPropertyAttribute.cs
- Pkcs7Recipient.cs
- IsolatedStoragePermission.cs
- WebPartDisplayModeCollection.cs
- IODescriptionAttribute.cs
- ObfuscationAttribute.cs
- smtpconnection.cs
- Point3DAnimationUsingKeyFrames.cs
- ConfigPathUtility.cs
- WorkflowTraceTransfer.cs
- DoubleMinMaxAggregationOperator.cs
- Helper.cs
- WhitespaceSignificantCollectionAttribute.cs
- DeferredRunTextReference.cs
- ResourceSet.cs
- BaseValidator.cs
- TextTreeTextElementNode.cs
- SendingRequestEventArgs.cs
- HttpInputStream.cs
- DataGridAutoFormatDialog.cs
- EventRoute.cs
- NamespaceEmitter.cs
- FontCacheUtil.cs
- WebConfigurationManager.cs
- WebBrowserHelper.cs
- SmiMetaDataProperty.cs
- XmlBindingWorker.cs
- TypedElement.cs
- RelatedPropertyManager.cs
- HtmlEncodedRawTextWriter.cs
- ColorIndependentAnimationStorage.cs
- Pointer.cs