Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ButtonFieldBase.cs
- MailWebEventProvider.cs
- TextProperties.cs
- SafeNativeMethods.cs
- CompletedAsyncResult.cs
- AutoGeneratedField.cs
- HandlerFactoryCache.cs
- MetadataArtifactLoader.cs
- Simplifier.cs
- DayRenderEvent.cs
- Input.cs
- XmlSchemaInferenceException.cs
- WebServiceMethodData.cs
- ConfigXmlSignificantWhitespace.cs
- Journaling.cs
- Point3DCollectionConverter.cs
- NativeMethodsOther.cs
- HyperLinkField.cs
- OdbcReferenceCollection.cs
- SemanticAnalyzer.cs
- AVElementHelper.cs
- LogSwitch.cs
- __TransparentProxy.cs
- OciEnlistContext.cs
- TableLayoutPanel.cs
- TypeConverterBase.cs
- InnerItemCollectionView.cs
- ToolStripItemRenderEventArgs.cs
- ToolStripPanelCell.cs
- XmlReturnWriter.cs
- CompressedStack.cs
- clipboard.cs
- RealProxy.cs
- DbgCompiler.cs
- OneOfTypeConst.cs
- ConfigXmlComment.cs
- DataGridViewDataConnection.cs
- LicenseContext.cs
- ToolStripCollectionEditor.cs
- DropSource.cs
- PresentationAppDomainManager.cs
- Peer.cs
- CompiledAction.cs
- OLEDB_Enum.cs
- CodeSnippetStatement.cs
- SoapAttributeAttribute.cs
- TabControlCancelEvent.cs
- CodeCommentStatementCollection.cs
- DefaultValidator.cs
- PrintController.cs
- FixedPage.cs
- MenuItemStyle.cs
- CodeDOMUtility.cs
- KeyboardEventArgs.cs
- MouseOverProperty.cs
- ToolStripStatusLabel.cs
- WebResourceUtil.cs
- XmlWriter.cs
- StrokeIntersection.cs
- SchemaNames.cs
- ListItemViewControl.cs
- XPathNavigatorException.cs
- BlurBitmapEffect.cs
- ScriptResourceInfo.cs
- DefaultBinder.cs
- SharingService.cs
- DispatcherOperation.cs
- DirtyTextRange.cs
- WindowsGrip.cs
- SqlCachedBuffer.cs
- ValidationSettings.cs
- ReadOnlyNameValueCollection.cs
- DebugInfo.cs
- WorkBatch.cs
- BitmapMetadata.cs
- DiscoveryExceptionDictionary.cs
- SiteOfOriginContainer.cs
- TabControlAutomationPeer.cs
- ConnectionDemuxer.cs
- EditCommandColumn.cs
- TextAction.cs
- EmptyCollection.cs
- TypeValidationEventArgs.cs
- BooleanConverter.cs
- CapabilitiesPattern.cs
- WorkItem.cs
- KnownBoxes.cs
- EntityObject.cs
- odbcmetadatacolumnnames.cs
- DiscreteKeyFrames.cs
- SelectionEditingBehavior.cs
- VectorAnimationBase.cs
- WebSysDefaultValueAttribute.cs
- XmlAggregates.cs
- UpdatePanelControlTrigger.cs
- XmlDataSourceNodeDescriptor.cs
- XPathScanner.cs
- DateTime.cs
- EntityContainerEmitter.cs
- DirtyTextRange.cs