Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataSetSchema.cs
- DbConnectionStringCommon.cs
- ObjectSecurity.cs
- BaseServiceProvider.cs
- XmlLoader.cs
- ServiceModelExtensionElement.cs
- NameValueCollection.cs
- WebBrowserHelper.cs
- XmlSchemaCollection.cs
- SqlClientWrapperSmiStream.cs
- DataBindEngine.cs
- ScriptModule.cs
- HtmlInputSubmit.cs
- StdValidatorsAndConverters.cs
- SimpleHandlerFactory.cs
- LinqDataSourceUpdateEventArgs.cs
- GeneralTransform.cs
- XmlSerializerAssemblyAttribute.cs
- SortAction.cs
- ToolStripContentPanel.cs
- FlowDocumentReader.cs
- CultureInfoConverter.cs
- TextEditorDragDrop.cs
- JapaneseLunisolarCalendar.cs
- EntityWithChangeTrackerStrategy.cs
- PackageDocument.cs
- FormatStringEditor.cs
- WebPartVerbCollection.cs
- WebServiceResponse.cs
- ObjectItemCachedAssemblyLoader.cs
- Hashtable.cs
- EditingCommands.cs
- MarkupCompiler.cs
- DriveInfo.cs
- FixedSOMFixedBlock.cs
- MetafileHeader.cs
- DetailsViewActionList.cs
- SynchronizationContext.cs
- ExplicitDiscriminatorMap.cs
- HttpListenerTimeoutManager.cs
- TemplatePagerField.cs
- ExpressionNode.cs
- HttpHandlerAction.cs
- HandlerFactoryCache.cs
- WorkflowDesignerColors.cs
- DataShape.cs
- PermissionToken.cs
- WebEventTraceProvider.cs
- CustomAttributeFormatException.cs
- UserPreference.cs
- BindingRestrictions.cs
- TransformerTypeCollection.cs
- EncodingTable.cs
- LayoutEngine.cs
- StateItem.cs
- versioninfo.cs
- CodeTypeReference.cs
- NativeMethods.cs
- SubstitutionDesigner.cs
- DataGridColumn.cs
- SecondaryViewProvider.cs
- ParenthesizePropertyNameAttribute.cs
- DataControlButton.cs
- DecoratedNameAttribute.cs
- UnsafeNativeMethodsPenimc.cs
- CacheChildrenQuery.cs
- FloaterBaseParaClient.cs
- DropDownButton.cs
- QilSortKey.cs
- relpropertyhelper.cs
- DataGridViewMethods.cs
- MonthChangedEventArgs.cs
- MonthCalendar.cs
- ServerIdentity.cs
- ParameterInfo.cs
- ExpressionList.cs
- InstalledVoice.cs
- initElementDictionary.cs
- GuidTagList.cs
- SimpleHandlerBuildProvider.cs
- CustomWebEventKey.cs
- DataGridViewCellStyleChangedEventArgs.cs
- IApplicationTrustManager.cs
- SamlConstants.cs
- MessageLoggingElement.cs
- FieldBuilder.cs
- QilPatternVisitor.cs
- EntityContainerAssociationSetEnd.cs
- ColumnMapTranslator.cs
- PermissionSet.cs
- grammarelement.cs
- MobileResource.cs
- ColumnMapProcessor.cs
- PerfCounterSection.cs
- ObjectCloneHelper.cs
- querybuilder.cs
- GridViewUpdateEventArgs.cs
- WindowsRichEditRange.cs
- HandleCollector.cs
- SequenceDesigner.cs