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
- Point3DAnimation.cs
- BrowserCapabilitiesFactoryBase.cs
- FlagsAttribute.cs
- WinCategoryAttribute.cs
- WebPartZoneDesigner.cs
- InvokeHandlers.cs
- ReflectionHelper.cs
- ContentElementAutomationPeer.cs
- Bitmap.cs
- WpfKnownTypeInvoker.cs
- FileUtil.cs
- RemotingServices.cs
- XmlEnumAttribute.cs
- ViewBase.cs
- FixedSOMFixedBlock.cs
- Converter.cs
- DbSource.cs
- ExpressionValueEditor.cs
- XmlSchemaGroupRef.cs
- Memoizer.cs
- AuthorizationRuleCollection.cs
- InputEventArgs.cs
- odbcmetadatacolumnnames.cs
- Helper.cs
- WindowsGraphics2.cs
- ToolStripGripRenderEventArgs.cs
- ContractSearchPattern.cs
- EntityProxyTypeInfo.cs
- ConnectionConsumerAttribute.cs
- EventRecordWrittenEventArgs.cs
- UIElementIsland.cs
- HttpCapabilitiesSectionHandler.cs
- HyperLinkColumn.cs
- ConfigurationStrings.cs
- StateElement.cs
- SqlDataSourceCommandEventArgs.cs
- EnvironmentPermission.cs
- ConfigurationStrings.cs
- HealthMonitoringSectionHelper.cs
- SafeHandle.cs
- PersonalizationAdministration.cs
- RadioButtonRenderer.cs
- DataObject.cs
- OraclePermission.cs
- CompressEmulationStream.cs
- TypeBuilder.cs
- ParameterCollection.cs
- Gdiplus.cs
- LiteralSubsegment.cs
- ByeMessage11.cs
- DataGridViewLinkColumn.cs
- XmlSchemaResource.cs
- BaseDataBoundControl.cs
- IPGlobalProperties.cs
- ChtmlTextWriter.cs
- MenuItemStyle.cs
- BorderGapMaskConverter.cs
- SrgsElementFactoryCompiler.cs
- SettingsSavedEventArgs.cs
- KeySplineConverter.cs
- AuthenticodeSignatureInformation.cs
- AddInController.cs
- ModuleConfigurationInfo.cs
- XPathPatternBuilder.cs
- TagNameToTypeMapper.cs
- RoutedEvent.cs
- ParallelRangeManager.cs
- EncoderParameters.cs
- Odbc32.cs
- GenericTypeParameterConverter.cs
- TypedElement.cs
- ComponentChangingEvent.cs
- QuadraticBezierSegment.cs
- AppDomainShutdownMonitor.cs
- SelectionUIService.cs
- WpfXamlLoader.cs
- FreezableOperations.cs
- HttpProfileGroupBase.cs
- HttpRequestTraceRecord.cs
- BindingWorker.cs
- RequiredFieldValidator.cs
- RoutedCommand.cs
- CodeCastExpression.cs
- PkcsMisc.cs
- XmlSortKey.cs
- SqlDelegatedTransaction.cs
- TextViewElement.cs
- StructuredTypeInfo.cs
- MediaContextNotificationWindow.cs
- Number.cs
- UnmanagedMemoryAccessor.cs
- VirtualPathProvider.cs
- TraceRecords.cs
- OutgoingWebRequestContext.cs
- PersonalizableTypeEntry.cs
- GC.cs
- ObjectSecurity.cs
- DesignTimeParseData.cs
- LinkConverter.cs
- AttributeEmitter.cs