Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- HttpHandlerActionCollection.cs
- DiscoveryMessageSequence11.cs
- IBuiltInEvidence.cs
- HwndHostAutomationPeer.cs
- OdbcConnectionOpen.cs
- Wizard.cs
- WorkflowViewElement.cs
- DataContext.cs
- RevocationPoint.cs
- IndependentlyAnimatedPropertyMetadata.cs
- ExpressionEditorAttribute.cs
- UmAlQuraCalendar.cs
- MediaCommands.cs
- GroupItemAutomationPeer.cs
- SoapMessage.cs
- OrderingInfo.cs
- PathNode.cs
- X509CertificateClaimSet.cs
- Normalization.cs
- DbParameterCollectionHelper.cs
- _LocalDataStoreMgr.cs
- unitconverter.cs
- EntityWrapperFactory.cs
- BamlRecordWriter.cs
- DataGridViewButtonCell.cs
- MsdtcWrapper.cs
- DesignerActionTextItem.cs
- PackageProperties.cs
- ValueConversionAttribute.cs
- ScrollProperties.cs
- NotImplementedException.cs
- MulticastNotSupportedException.cs
- EntitySetBaseCollection.cs
- AnonymousIdentificationSection.cs
- CustomErrorCollection.cs
- InkCollectionBehavior.cs
- SiteMap.cs
- remotingproxy.cs
- SetterBase.cs
- AlignmentYValidation.cs
- BindingUtils.cs
- Constraint.cs
- DES.cs
- WithStatement.cs
- UnsafeNativeMethods.cs
- NGCUIElementCollectionSerializerAsync.cs
- HttpApplication.cs
- UndoManager.cs
- RequestCacheEntry.cs
- StyleCollectionEditor.cs
- IMembershipProvider.cs
- SystemKeyConverter.cs
- Transform.cs
- coordinatorfactory.cs
- AppSecurityManager.cs
- NotificationContext.cs
- SchemaCompiler.cs
- Vector3DAnimationBase.cs
- Command.cs
- WpfPayload.cs
- Base64Encoding.cs
- SortKey.cs
- TextDecorationCollection.cs
- AccessDataSource.cs
- SafePEFileHandle.cs
- FontFamilyConverter.cs
- CannotUnloadAppDomainException.cs
- ApplyImportsAction.cs
- NativeMethods.cs
- SafeLibraryHandle.cs
- FocusManager.cs
- Model3DGroup.cs
- MulticastIPAddressInformationCollection.cs
- WorkItem.cs
- HttpModulesSection.cs
- DrawingAttributesDefaultValueFactory.cs
- XmlDocumentType.cs
- ExpressionTextBox.xaml.cs
- DataTableMapping.cs
- XmlSchemaAnnotated.cs
- TextViewElement.cs
- ParallelDesigner.cs
- ProcessHost.cs
- DoubleStorage.cs
- TypeReference.cs
- StringResourceManager.cs
- RijndaelManaged.cs
- EventSource.cs
- ResourceKey.cs
- TabletDevice.cs
- _ListenerRequestStream.cs
- StorageEndPropertyMapping.cs
- StreamGeometry.cs
- GraphicsPath.cs
- EntityViewGenerator.cs
- AssertUtility.cs
- TextParaClient.cs
- EventSinkHelperWriter.cs
- ScriptManagerProxy.cs
- ObjectAssociationEndMapping.cs