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
- ReadOnlyHierarchicalDataSource.cs
- OutputScopeManager.cs
- DbDataReader.cs
- DocumentViewer.cs
- Array.cs
- SByteStorage.cs
- SyntaxCheck.cs
- ToolStripMenuItem.cs
- InfoCardXmlSerializer.cs
- StateMachineWorkflowInstance.cs
- StringToken.cs
- RuleSettings.cs
- Symbol.cs
- SocketAddress.cs
- Mappings.cs
- ProfileManager.cs
- ErrorProvider.cs
- HtmlTableCell.cs
- LogicalExpressionEditor.cs
- StorageConditionPropertyMapping.cs
- DbConnectionInternal.cs
- TokenBasedSet.cs
- SuppressMergeCheckAttribute.cs
- XamlPoint3DCollectionSerializer.cs
- ModuleElement.cs
- TextEndOfParagraph.cs
- XhtmlBasicPhoneCallAdapter.cs
- FunctionDescription.cs
- ContentType.cs
- SymmetricKey.cs
- AutomationEventArgs.cs
- ObjRef.cs
- MenuItem.cs
- ServiceNotStartedException.cs
- TileModeValidation.cs
- SecurityElement.cs
- OneToOneMappingSerializer.cs
- DES.cs
- SubqueryRules.cs
- AssemblySettingAttributes.cs
- ToolStripPanel.cs
- DbConvert.cs
- PageAdapter.cs
- RadioButtonList.cs
- Expr.cs
- FrugalMap.cs
- Camera.cs
- MD5.cs
- TextEditorTables.cs
- HttpCacheVaryByContentEncodings.cs
- UnionCodeGroup.cs
- DataKey.cs
- SafeHandle.cs
- IntegrationExceptionEventArgs.cs
- PanelDesigner.cs
- NetNamedPipeSecurityElement.cs
- DefinitionBase.cs
- xml.cs
- OperationInfo.cs
- IOException.cs
- FormDocumentDesigner.cs
- Annotation.cs
- ConnectAlgorithms.cs
- CryptoHelper.cs
- TextBoxView.cs
- TransformCollection.cs
- SR.Designer.cs
- CellTreeNodeVisitors.cs
- ContextQuery.cs
- _MultipleConnectAsync.cs
- Visual.cs
- FileDialogCustomPlacesCollection.cs
- SystemDropShadowChrome.cs
- TabletDeviceInfo.cs
- ConfigXmlElement.cs
- XPathDocument.cs
- InteropExecutor.cs
- Message.cs
- SocketElement.cs
- SubstitutionDesigner.cs
- UnsafeNativeMethods.cs
- ServiceHttpHandlerFactory.cs
- TextFormatterContext.cs
- TableLayoutRowStyleCollection.cs
- RootBuilder.cs
- RenderTargetBitmap.cs
- TextEndOfLine.cs
- RequestUriProcessor.cs
- MarkupCompiler.cs
- TranslateTransform3D.cs
- FaultContractInfo.cs
- QuaternionRotation3D.cs
- PopupRoot.cs
- UrlAuthorizationModule.cs
- PropertyEmitterBase.cs
- DataGridViewCellStyleChangedEventArgs.cs
- ExpressionCopier.cs
- BackStopAuthenticationModule.cs
- StringUtil.cs
- DataGridViewComboBoxColumn.cs