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
- EntityDataSourceUtil.cs
- AlternateView.cs
- Stack.cs
- XhtmlBasicLiteralTextAdapter.cs
- InputScopeConverter.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- XamlTreeBuilder.cs
- InsufficientMemoryException.cs
- DataGridViewCellCancelEventArgs.cs
- TextDecorationCollectionConverter.cs
- SymbolTable.cs
- ImageDrawing.cs
- SQLRoleProvider.cs
- StrokeNodeOperations2.cs
- LineServicesRun.cs
- XmlSchemaAny.cs
- ElementHostPropertyMap.cs
- InteropBitmapSource.cs
- DiscoveryClientRequestChannel.cs
- Utils.cs
- FreezableDefaultValueFactory.cs
- NamespaceInfo.cs
- ProgressBarHighlightConverter.cs
- TreeViewCancelEvent.cs
- TextStore.cs
- OpCellTreeNode.cs
- WebPartConnectVerb.cs
- CodeGotoStatement.cs
- DataGridTextBoxColumn.cs
- FilterException.cs
- MediaContextNotificationWindow.cs
- JsonClassDataContract.cs
- OrCondition.cs
- bindurihelper.cs
- DataGridViewColumnCollectionEditor.cs
- FixedTextPointer.cs
- HotSpotCollection.cs
- HwndHost.cs
- AuthenticationService.cs
- EventSourceCreationData.cs
- RepeaterItemCollection.cs
- PrincipalPermission.cs
- DesigntimeLicenseContext.cs
- ADRole.cs
- CodeTypeParameter.cs
- BaseParser.cs
- CounterSampleCalculator.cs
- ProgressChangedEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- Opcode.cs
- CheckBoxList.cs
- ConstNode.cs
- cookiecollection.cs
- AutoGeneratedFieldProperties.cs
- BinarySerializer.cs
- EventRouteFactory.cs
- GeometryGroup.cs
- WmfPlaceableFileHeader.cs
- RegionInfo.cs
- CollectionTraceRecord.cs
- SctClaimDictionary.cs
- FixedDocumentPaginator.cs
- _BufferOffsetSize.cs
- DictionaryTraceRecord.cs
- SamlSubjectStatement.cs
- WebDisplayNameAttribute.cs
- StrokeNodeOperations2.cs
- DynamicObjectAccessor.cs
- ClientTargetCollection.cs
- MetadataUtilsSmi.cs
- ConfigurationManagerInternalFactory.cs
- GZipUtils.cs
- DataControlButton.cs
- ManagedFilter.cs
- MessageEncodingBindingElement.cs
- ConfigurationLocationCollection.cs
- ScrollItemPattern.cs
- QueryStringParameter.cs
- StringToken.cs
- DataServiceHostFactory.cs
- GetParentChain.cs
- DataTable.cs
- ExtractedStateEntry.cs
- FactoryMaker.cs
- Brushes.cs
- RegexStringValidatorAttribute.cs
- WebPartManagerInternals.cs
- TokenFactoryCredential.cs
- ConfigXmlCDataSection.cs
- XmlRootAttribute.cs
- SqlAggregateChecker.cs
- DbConnectionFactory.cs
- XmlLinkedNode.cs
- ClientSettingsSection.cs
- DbCommandTree.cs
- Delegate.cs
- UInt64Storage.cs
- TextBoxView.cs
- ScopedKnownTypes.cs
- IdentifierCreationService.cs