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
- XmlReaderDelegator.cs
- BinaryObjectInfo.cs
- RightNameExpirationInfoPair.cs
- BindingManagerDataErrorEventArgs.cs
- ZoneMembershipCondition.cs
- HScrollProperties.cs
- ZipArchive.cs
- TextSelection.cs
- SecurityPermission.cs
- Regex.cs
- AssemblyCollection.cs
- QueryParameter.cs
- AutomationFocusChangedEventArgs.cs
- NonClientArea.cs
- ThreadStartException.cs
- odbcmetadatafactory.cs
- CachedPathData.cs
- __TransparentProxy.cs
- CompensatableTransactionScopeActivity.cs
- TreeView.cs
- CachedFontFamily.cs
- PersonalizableTypeEntry.cs
- ToolStripItemCollection.cs
- DirectoryObjectSecurity.cs
- SystemPens.cs
- EventRoute.cs
- ConfigurationLocation.cs
- StrokeRenderer.cs
- CombinedGeometry.cs
- DocumentViewerConstants.cs
- SchemaDeclBase.cs
- Floater.cs
- EntitySqlException.cs
- ProfileParameter.cs
- WebPart.cs
- ContextQuery.cs
- RuntimeHandles.cs
- TypeValidationEventArgs.cs
- Sorting.cs
- FastPropertyAccessor.cs
- FlowPosition.cs
- CompilerWrapper.cs
- ExpressionBuilderContext.cs
- HebrewNumber.cs
- TextDecorationCollection.cs
- NetworkStream.cs
- XmlRawWriter.cs
- InstanceCreationEditor.cs
- NamespaceQuery.cs
- Timer.cs
- DetailsViewCommandEventArgs.cs
- TypeContext.cs
- PeerNameRecordCollection.cs
- Visual.cs
- CharUnicodeInfo.cs
- SecurityRuntime.cs
- SqlTopReducer.cs
- CompilerErrorCollection.cs
- HttpWebRequestElement.cs
- EventHandlingScope.cs
- SoapMessage.cs
- DataSourceCacheDurationConverter.cs
- DescriptionAttribute.cs
- EncryptedType.cs
- Pkcs7Signer.cs
- IntSecurity.cs
- VariableQuery.cs
- XmlStreamNodeWriter.cs
- AssemblyNameProxy.cs
- PolyLineSegment.cs
- FontSourceCollection.cs
- UriSection.cs
- XmlSchemaNotation.cs
- GeneralTransformGroup.cs
- InternalBufferOverflowException.cs
- ExclusiveTcpListener.cs
- TemplateNodeContextMenu.cs
- AsymmetricAlgorithm.cs
- TableDetailsRow.cs
- XslAst.cs
- TypeToArgumentTypeConverter.cs
- TextEditorTyping.cs
- DefinitionBase.cs
- WebPart.cs
- ConfigurationManager.cs
- EnlistmentState.cs
- NameValuePair.cs
- Avt.cs
- SystemPens.cs
- AssertSection.cs
- SettingsAttributes.cs
- IndependentlyAnimatedPropertyMetadata.cs
- OneWayBindingElementImporter.cs
- DefaultTypeArgumentAttribute.cs
- MsmqIntegrationBinding.cs
- PlatformCulture.cs
- EntityViewContainer.cs
- WrappedIUnknown.cs
- TextSelectionProcessor.cs
- ErrorHandler.cs