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
- DesignerSerializerAttribute.cs
- FlowLayoutPanel.cs
- DeleteWorkflowOwnerCommand.cs
- XhtmlStyleClass.cs
- MarkupExtensionReturnTypeAttribute.cs
- NeutralResourcesLanguageAttribute.cs
- ProfileParameter.cs
- StylusPointProperty.cs
- ToolStripInSituService.cs
- DocumentApplicationJournalEntry.cs
- TailCallAnalyzer.cs
- HtmlEmptyTagControlBuilder.cs
- DbConnectionFactory.cs
- _HeaderInfo.cs
- ViewBox.cs
- LocalizableResourceBuilder.cs
- DependencyPropertyChangedEventArgs.cs
- datacache.cs
- ElementFactory.cs
- GrammarBuilderPhrase.cs
- RepeatBehavior.cs
- ContainsSearchOperator.cs
- SecurityElement.cs
- DataGridRowClipboardEventArgs.cs
- TraceRecord.cs
- SimpleFieldTemplateFactory.cs
- PipelineModuleStepContainer.cs
- DataSourceView.cs
- DataService.cs
- FontSourceCollection.cs
- CharAnimationUsingKeyFrames.cs
- OdbcHandle.cs
- IntPtr.cs
- UserNamePasswordValidator.cs
- ProcessHost.cs
- Popup.cs
- WebControl.cs
- JapaneseLunisolarCalendar.cs
- DrawingState.cs
- MouseDevice.cs
- ContractReference.cs
- WebControl.cs
- CanonicalXml.cs
- EditingCoordinator.cs
- MessageContractMemberAttribute.cs
- CaseStatementProjectedSlot.cs
- ScriptBehaviorDescriptor.cs
- SQLByte.cs
- DesignerActionGlyph.cs
- BindableTemplateBuilder.cs
- TraceFilter.cs
- RectAnimationBase.cs
- BuildTopDownAttribute.cs
- ValueConversionAttribute.cs
- Rotation3DAnimationUsingKeyFrames.cs
- HtmlTitle.cs
- Stylus.cs
- FormView.cs
- ErrorsHelper.cs
- ListViewInsertedEventArgs.cs
- DynamicDocumentPaginator.cs
- BindingContext.cs
- ScriptManager.cs
- TransformerConfigurationWizardBase.cs
- BaseUriWithWildcard.cs
- Font.cs
- DesignerUtility.cs
- BindingListCollectionView.cs
- DataGridDesigner.cs
- JsonQueryStringConverter.cs
- ValueTable.cs
- HandleCollector.cs
- HandlerFactoryCache.cs
- ProcessModuleCollection.cs
- RelationshipFixer.cs
- SimpleBitVector32.cs
- PipeException.cs
- ConfigViewGenerator.cs
- RectConverter.cs
- GC.cs
- HyperLinkColumn.cs
- BindingManagerDataErrorEventArgs.cs
- HttpApplicationFactory.cs
- WorkflowQueueInfo.cs
- PointCollection.cs
- XPathBinder.cs
- BinaryParser.cs
- DataKey.cs
- SqlDataSourceView.cs
- RouteParameter.cs
- TextEffect.cs
- MembershipSection.cs
- XsltArgumentList.cs
- PartialTrustVisibleAssembliesSection.cs
- SerializableAttribute.cs
- UTF7Encoding.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MatrixKeyFrameCollection.cs
- SrgsElementFactoryCompiler.cs