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
- DbConnectionOptions.cs
- DbConnectionHelper.cs
- CultureInfoConverter.cs
- TransactionBridgeSection.cs
- CasesDictionary.cs
- DataGridViewColumn.cs
- Select.cs
- SharedStatics.cs
- SplineQuaternionKeyFrame.cs
- CompoundFileIOPermission.cs
- odbcmetadatafactory.cs
- ThumbAutomationPeer.cs
- IisTraceListener.cs
- GradientStop.cs
- control.ime.cs
- mediapermission.cs
- DurableRuntimeValidator.cs
- Blend.cs
- TransactionChannelFactory.cs
- DeclarativeCatalogPart.cs
- EmptyImpersonationContext.cs
- WebEventTraceProvider.cs
- InternalPermissions.cs
- OSFeature.cs
- ClassData.cs
- VersionPair.cs
- ComAdminInterfaces.cs
- webbrowsersite.cs
- NavigationWindowAutomationPeer.cs
- InputLanguageEventArgs.cs
- VideoDrawing.cs
- PropertyInformation.cs
- DynamicQueryableWrapper.cs
- ConnectionsZone.cs
- SourceLineInfo.cs
- AppLevelCompilationSectionCache.cs
- NamedPipeTransportBindingElement.cs
- DataGridItem.cs
- RightsManagementInformation.cs
- ScheduleChanges.cs
- SqlDataSource.cs
- SynchronousSendBindingElement.cs
- DrawingGroup.cs
- QilVisitor.cs
- RoutedUICommand.cs
- InternalsVisibleToAttribute.cs
- GridItemPattern.cs
- DataSourceControl.cs
- ErrorWebPart.cs
- DbProviderFactory.cs
- GridToolTip.cs
- DesignBinding.cs
- UnsafeNativeMethods.cs
- PropertiesTab.cs
- Rotation3DAnimationUsingKeyFrames.cs
- StackSpiller.Bindings.cs
- Color.cs
- DecimalAnimationUsingKeyFrames.cs
- UrlMappingsSection.cs
- MembershipUser.cs
- TypeBinaryExpression.cs
- ToolConsole.cs
- EntityUtil.cs
- TextBlock.cs
- PhoneCallDesigner.cs
- PrinterResolution.cs
- ApplicationContext.cs
- Vector3DAnimationBase.cs
- DispatcherHookEventArgs.cs
- CatalogPartDesigner.cs
- IisTraceListener.cs
- WorkflowInspectionServices.cs
- Types.cs
- DataBoundControlDesigner.cs
- Fonts.cs
- DrawingAttributesDefaultValueFactory.cs
- SchemaType.cs
- RelationshipFixer.cs
- GPStream.cs
- RequestValidator.cs
- GlyphsSerializer.cs
- WebServiceReceiveDesigner.cs
- UserMapPath.cs
- TracedNativeMethods.cs
- LineMetrics.cs
- DecoderFallback.cs
- SubMenuStyle.cs
- DataView.cs
- ActivationArguments.cs
- ReturnValue.cs
- HtmlButton.cs
- BCLDebug.cs
- TranslateTransform3D.cs
- ListViewHitTestInfo.cs
- BulletedList.cs
- MailBnfHelper.cs
- EventWaitHandle.cs
- ElementHostAutomationPeer.cs
- BufferedGenericXmlSecurityToken.cs
- InstallerTypeAttribute.cs