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
- PolicyChain.cs
- FormsAuthenticationCredentials.cs
- ChtmlPageAdapter.cs
- DoubleCollection.cs
- WebResourceAttribute.cs
- login.cs
- CommandDevice.cs
- PersonalizationStateQuery.cs
- FormatterServices.cs
- DataGridRowHeaderAutomationPeer.cs
- CompilerInfo.cs
- SiteMapHierarchicalDataSourceView.cs
- CodeRegionDirective.cs
- DataGridCaption.cs
- Win32Exception.cs
- ScrollBar.cs
- ChangePasswordAutoFormat.cs
- _Semaphore.cs
- NetworkStream.cs
- Vector3DKeyFrameCollection.cs
- InertiaExpansionBehavior.cs
- StylusPlugInCollection.cs
- ReadingWritingEntityEventArgs.cs
- ProcessThread.cs
- EnlistmentTraceIdentifier.cs
- VolatileResourceManager.cs
- ProfileService.cs
- ErrorFormatterPage.cs
- TheQuery.cs
- GlyphingCache.cs
- HashCodeCombiner.cs
- ParseChildrenAsPropertiesAttribute.cs
- SqlProfileProvider.cs
- DecimalConverter.cs
- MessageAction.cs
- InstalledFontCollection.cs
- NameValueConfigurationElement.cs
- RightsManagementPermission.cs
- WhileDesigner.xaml.cs
- _emptywebproxy.cs
- GetLedgerRequest.cs
- SqlProfileProvider.cs
- unsafenativemethodstextservices.cs
- HashCodeCombiner.cs
- HwndSourceParameters.cs
- XmlRootAttribute.cs
- XmlSchema.cs
- CheckBox.cs
- SizeIndependentAnimationStorage.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ConstraintConverter.cs
- MimeObjectFactory.cs
- ScriptingJsonSerializationSection.cs
- ConfigurationSettings.cs
- SqlConnection.cs
- Rfc2898DeriveBytes.cs
- Errors.cs
- AccessViolationException.cs
- StringAnimationUsingKeyFrames.cs
- ValueQuery.cs
- SHA384.cs
- CellTreeNode.cs
- XPathItem.cs
- NavigatingCancelEventArgs.cs
- TraversalRequest.cs
- ExpressionBinding.cs
- DataGridViewCheckBoxCell.cs
- WebPartDisplayMode.cs
- BuildDependencySet.cs
- TypedTableBase.cs
- AxImporter.cs
- BaseComponentEditor.cs
- TableStyle.cs
- DataTemplateKey.cs
- GlyphShapingProperties.cs
- AnimationTimeline.cs
- PluralizationServiceUtil.cs
- MetadataCacheItem.cs
- CompositeCollection.cs
- GregorianCalendar.cs
- JumpTask.cs
- FixedLineResult.cs
- ListView.cs
- HttpModuleActionCollection.cs
- PrintDialog.cs
- ClientSettingsSection.cs
- CodeAttachEventStatement.cs
- HttpFileCollection.cs
- SoapAttributeAttribute.cs
- SymbolEqualComparer.cs
- XmlSchemaSimpleContentRestriction.cs
- SerializationEventsCache.cs
- SchemaImporterExtensionsSection.cs
- XPathParser.cs
- IListConverters.cs
- PropertyValueChangedEvent.cs
- RequestCacheEntry.cs
- DES.cs
- InputProcessorProfilesLoader.cs
- ThicknessAnimationBase.cs