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
- SectionInformation.cs
- ActiveDocumentEvent.cs
- WriteFileContext.cs
- DNS.cs
- MediaEntryAttribute.cs
- StreamWithDictionary.cs
- UserNamePasswordServiceCredential.cs
- SimpleTypeResolver.cs
- OdbcErrorCollection.cs
- HttpClientCertificate.cs
- DocumentSchemaValidator.cs
- DefaultDialogButtons.cs
- LocalizableAttribute.cs
- XmlDataSourceNodeDescriptor.cs
- Accessible.cs
- StringStorage.cs
- UserControlAutomationPeer.cs
- EventProviderTraceListener.cs
- PaperSource.cs
- ColumnMapProcessor.cs
- ConsumerConnectionPointCollection.cs
- ListViewItemMouseHoverEvent.cs
- CodeAttributeDeclarationCollection.cs
- BasePropertyDescriptor.cs
- GradientBrush.cs
- ProtectedConfigurationSection.cs
- Normalization.cs
- ParentUndoUnit.cs
- _SslState.cs
- CodeConditionStatement.cs
- _UriSyntax.cs
- XmlEncodedRawTextWriter.cs
- WebPartPersonalization.cs
- ComponentManagerBroker.cs
- CaseStatementSlot.cs
- AutoScrollExpandMessageFilter.cs
- ScrollProperties.cs
- StylusPointPropertyUnit.cs
- PropertyGridView.cs
- ClassValidator.cs
- TextInfo.cs
- CommandHelper.cs
- XXXInfos.cs
- FormViewPageEventArgs.cs
- UITypeEditors.cs
- _PooledStream.cs
- GridViewCancelEditEventArgs.cs
- _RegBlobWebProxyDataBuilder.cs
- PagerSettings.cs
- EventLogPermissionEntryCollection.cs
- ClientUtils.cs
- CodeComment.cs
- Codec.cs
- DLinqAssociationProvider.cs
- RootBrowserWindowAutomationPeer.cs
- XmlLanguage.cs
- TableChangeProcessor.cs
- PreProcessInputEventArgs.cs
- IpcChannelHelper.cs
- SafePEFileHandle.cs
- PriorityItem.cs
- Scene3D.cs
- SmiRecordBuffer.cs
- SelfIssuedTokenFactoryCredential.cs
- DataGridViewRowCancelEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- TextBox.cs
- Errors.cs
- Timer.cs
- FormsAuthentication.cs
- RuleValidation.cs
- CodeGenerator.cs
- Schema.cs
- GifBitmapDecoder.cs
- LogExtentCollection.cs
- WpfPayload.cs
- CaseStatement.cs
- SelectionEditingBehavior.cs
- Content.cs
- CatalogZone.cs
- Preprocessor.cs
- AstTree.cs
- StateWorkerRequest.cs
- SubMenuStyleCollection.cs
- HuffCodec.cs
- BevelBitmapEffect.cs
- EdmToObjectNamespaceMap.cs
- BamlReader.cs
- ResourceDefaultValueAttribute.cs
- DataGridSortCommandEventArgs.cs
- Line.cs
- WebPartDisplayModeEventArgs.cs
- InputScopeConverter.cs
- dsa.cs
- ParameterBuilder.cs
- ImageInfo.cs
- SqlDataSourceCache.cs
- CatalogPartChrome.cs
- HtmlHistory.cs
- TrackingServices.cs