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
- OleDbStruct.cs
- ColumnMapCopier.cs
- StrokeCollectionConverter.cs
- ValidatorAttribute.cs
- ScalarConstant.cs
- RectangleHotSpot.cs
- Set.cs
- XmlnsPrefixAttribute.cs
- DashStyle.cs
- ObjectManager.cs
- _ScatterGatherBuffers.cs
- BrowserInteropHelper.cs
- AndMessageFilterTable.cs
- KeyGestureConverter.cs
- ListInitExpression.cs
- input.cs
- EntityClassGenerator.cs
- ByteKeyFrameCollection.cs
- LinearGradientBrush.cs
- DataServiceContext.cs
- SecurityCriticalDataForSet.cs
- DesignerDataStoredProcedure.cs
- ParallelQuery.cs
- IisTraceListener.cs
- StrongName.cs
- XmlProcessingInstruction.cs
- SmtpSection.cs
- SqlException.cs
- Clause.cs
- XmlReflectionMember.cs
- PageWrapper.cs
- WebPartEditVerb.cs
- precedingsibling.cs
- DataGridRowDetailsEventArgs.cs
- ImportCatalogPart.cs
- IndexOutOfRangeException.cs
- XpsS0ValidatingLoader.cs
- TcpActivation.cs
- ArgumentNullException.cs
- CacheMemory.cs
- NotifyInputEventArgs.cs
- AssociationTypeEmitter.cs
- Operand.cs
- EntityProviderFactory.cs
- _BaseOverlappedAsyncResult.cs
- TaskSchedulerException.cs
- ZipIOExtraFieldZip64Element.cs
- HorizontalAlignConverter.cs
- ToolStripItemEventArgs.cs
- XmlAttribute.cs
- DbConnectionPool.cs
- IndexerNameAttribute.cs
- DataTableReader.cs
- LineGeometry.cs
- RegexCompilationInfo.cs
- ConnectionProviderAttribute.cs
- FormViewDeleteEventArgs.cs
- RtfNavigator.cs
- BaseUriHelper.cs
- EventLogPermissionAttribute.cs
- EntityParameter.cs
- JoinSymbol.cs
- LinkUtilities.cs
- Translator.cs
- PasswordRecoveryDesigner.cs
- ReaderContextStackData.cs
- CodeCompiler.cs
- clipboard.cs
- OracleMonthSpan.cs
- BitmapData.cs
- TextUtf8RawTextWriter.cs
- XmlIlVisitor.cs
- InputMethod.cs
- FrameworkElement.cs
- BitmapEffectInput.cs
- ZoneButton.cs
- SizeKeyFrameCollection.cs
- Touch.cs
- SqlBulkCopyColumnMapping.cs
- Expr.cs
- EdmError.cs
- ConfigurationManagerInternalFactory.cs
- TableLayoutPanel.cs
- SymDocumentType.cs
- CodeAttachEventStatement.cs
- TypeNameConverter.cs
- PropertyChangingEventArgs.cs
- CodeEntryPointMethod.cs
- CharacterShapingProperties.cs
- FocusTracker.cs
- ApplicationSecurityManager.cs
- ClientType.cs
- TextEditorSelection.cs
- ChangeInterceptorAttribute.cs
- CssClassPropertyAttribute.cs
- DataGridViewImageCell.cs
- AnnotationMap.cs
- columnmapfactory.cs
- ListCollectionView.cs
- DBSqlParserTable.cs