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
- ProvideValueServiceProvider.cs
- ExpressionHelper.cs
- ServiceThrottle.cs
- SizeAnimation.cs
- Root.cs
- ToolStripSeparatorRenderEventArgs.cs
- RegexRunnerFactory.cs
- CollectionTraceRecord.cs
- DesignerCalendarAdapter.cs
- ListBindableAttribute.cs
- SmtpFailedRecipientsException.cs
- HttpBrowserCapabilitiesBase.cs
- TypeReference.cs
- EdmSchemaError.cs
- BitSet.cs
- _Connection.cs
- ReadOnlyCollection.cs
- MessageCredentialType.cs
- ProcessInputEventArgs.cs
- TabItemWrapperAutomationPeer.cs
- SingleAnimation.cs
- IIS7WorkerRequest.cs
- GridViewColumnHeaderAutomationPeer.cs
- RequestDescription.cs
- Command.cs
- X509CertificateCollection.cs
- TrackingParameters.cs
- SqlConnectionHelper.cs
- PermissionListSet.cs
- RootBrowserWindow.cs
- BigInt.cs
- CompoundFileDeflateTransform.cs
- Math.cs
- LogLogRecord.cs
- relpropertyhelper.cs
- UniformGrid.cs
- ThreadInterruptedException.cs
- CellLabel.cs
- StringAnimationUsingKeyFrames.cs
- ModulesEntry.cs
- XPathSelfQuery.cs
- Console.cs
- RuntimeConfigLKG.cs
- UnsafeNativeMethods.cs
- ItemChangedEventArgs.cs
- MaskDescriptor.cs
- UrlPath.cs
- BufferedGraphics.cs
- HashMembershipCondition.cs
- PackageRelationship.cs
- SoapMessage.cs
- ProfileEventArgs.cs
- HostProtectionException.cs
- CookielessData.cs
- DoubleIndependentAnimationStorage.cs
- CompilationSection.cs
- HelpProvider.cs
- RelationshipWrapper.cs
- SqlCommandBuilder.cs
- ProxyBuilder.cs
- RectConverter.cs
- RtfToken.cs
- AudioDeviceOut.cs
- LinkButton.cs
- CompilationUtil.cs
- PageRouteHandler.cs
- SmiEventSink_Default.cs
- BoolLiteral.cs
- CompensatableTransactionScopeActivity.cs
- DataGridViewColumnCollectionEditor.cs
- OpenTypeCommon.cs
- WebException.cs
- DocumentViewerAutomationPeer.cs
- DataGridViewColumnHeaderCell.cs
- EntityObject.cs
- complextypematerializer.cs
- RelatedCurrencyManager.cs
- ReaderOutput.cs
- CompatibleIComparer.cs
- PageHandlerFactory.cs
- CreatingCookieEventArgs.cs
- ChangePassword.cs
- ChildChangedEventArgs.cs
- GridViewUpdateEventArgs.cs
- SoapFault.cs
- BackStopAuthenticationModule.cs
- FreezableDefaultValueFactory.cs
- EdmFunction.cs
- RenderData.cs
- DefaultShape.cs
- CounterCreationData.cs
- ReflectEventDescriptor.cs
- BaseParser.cs
- ChangeDirector.cs
- HwndHost.cs
- SafeMILHandle.cs
- ConsoleCancelEventArgs.cs
- FilterableAttribute.cs
- WindowsRegion.cs
- BinaryObjectWriter.cs