Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ImageListStreamer.cs
- WindowsTooltip.cs
- Gdiplus.cs
- XmlSchemaComplexContentExtension.cs
- PasswordBox.cs
- IApplicationTrustManager.cs
- LineBreakRecord.cs
- ListControl.cs
- AppPool.cs
- StyleModeStack.cs
- PropertyPushdownHelper.cs
- LayoutManager.cs
- TextEndOfParagraph.cs
- XmlFormatMapping.cs
- CheckBoxStandardAdapter.cs
- UnauthorizedWebPart.cs
- ArrayExtension.cs
- BadImageFormatException.cs
- HopperCache.cs
- WsiProfilesElement.cs
- AffineTransform3D.cs
- SmiContextFactory.cs
- EventSetterHandlerConverter.cs
- PenLineJoinValidation.cs
- RequestValidator.cs
- WhitespaceRule.cs
- XmlSchemaProviderAttribute.cs
- KeyBinding.cs
- cookiecontainer.cs
- MergePropertyDescriptor.cs
- XsltInput.cs
- SoapIgnoreAttribute.cs
- StringHandle.cs
- CurrencyManager.cs
- LogExtent.cs
- ElementHost.cs
- CodeConditionStatement.cs
- PrintingPermission.cs
- BitmapEffectGeneralTransform.cs
- SafeArrayTypeMismatchException.cs
- ReferencedAssembly.cs
- AutomationPropertyInfo.cs
- WSHttpBinding.cs
- SessionPageStateSection.cs
- UpnEndpointIdentity.cs
- AsyncPostBackTrigger.cs
- InputQueue.cs
- IncrementalReadDecoders.cs
- EditorZoneBase.cs
- XmlLangPropertyAttribute.cs
- UInt32Converter.cs
- StorageEntitySetMapping.cs
- ReachSerializerAsync.cs
- SourceFileInfo.cs
- ControlTemplate.cs
- UnionCodeGroup.cs
- GridSplitter.cs
- DataBoundControl.cs
- MappingModelBuildProvider.cs
- MemoryFailPoint.cs
- ReservationNotFoundException.cs
- ScriptIgnoreAttribute.cs
- UntypedNullExpression.cs
- ModuleBuilderData.cs
- ScrollViewer.cs
- ParserHooks.cs
- Graphics.cs
- EdmRelationshipRoleAttribute.cs
- ActiveXHost.cs
- DataServiceHostWrapper.cs
- OptimizedTemplateContentHelper.cs
- SoapSchemaExporter.cs
- TextContainerHelper.cs
- ReflectionUtil.cs
- ValidatingReaderNodeData.cs
- PeerConnector.cs
- SpellerHighlightLayer.cs
- TreeNodeEventArgs.cs
- CommandDevice.cs
- MsmqIntegrationBindingElement.cs
- SurrogateEncoder.cs
- FieldReference.cs
- Number.cs
- Preprocessor.cs
- SQLDateTime.cs
- WebServiceFaultDesigner.cs
- ColumnMapVisitor.cs
- BackgroundWorker.cs
- DataGridViewUtilities.cs
- HttpCapabilitiesSectionHandler.cs
- XpsDigitalSignature.cs
- SynchronizedInputPattern.cs
- Assembly.cs
- Button.cs
- DispatcherHookEventArgs.cs
- Visual3D.cs
- Win32KeyboardDevice.cs
- NoneExcludedImageIndexConverter.cs
- ListBindableAttribute.cs
- Duration.cs