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
- DrawingContextWalker.cs
- ServiceParser.cs
- GridItemPattern.cs
- GridViewColumn.cs
- TraceHandlerErrorFormatter.cs
- SafeRegistryHandle.cs
- SendActivityEventArgs.cs
- CachedFontFace.cs
- Transform3D.cs
- Region.cs
- EntityContainerEntitySet.cs
- InputScopeConverter.cs
- TextElementCollectionHelper.cs
- DocumentOrderComparer.cs
- SpecialTypeDataContract.cs
- GridViewSortEventArgs.cs
- MapPathBasedVirtualPathProvider.cs
- recordstatefactory.cs
- XmlSchemaComplexContentExtension.cs
- PlatformCulture.cs
- TdsEnums.cs
- AutomationProperty.cs
- EntitySqlQueryState.cs
- ScriptingWebServicesSectionGroup.cs
- DataDocumentXPathNavigator.cs
- RegexGroup.cs
- DataGridViewImageColumn.cs
- MultipartContentParser.cs
- SiteMapDataSource.cs
- TypeHelpers.cs
- Table.cs
- Maps.cs
- Debug.cs
- XmlNamespaceMapping.cs
- OAVariantLib.cs
- TokenizerHelper.cs
- RSAPKCS1SignatureDeformatter.cs
- ConfigurationProperty.cs
- EventLogPermissionEntry.cs
- DiffuseMaterial.cs
- ValidationRuleCollection.cs
- ElementHostAutomationPeer.cs
- ObjectCacheSettings.cs
- ModifierKeysValueSerializer.cs
- ObjRef.cs
- ListItemConverter.cs
- LinearGradientBrush.cs
- SyntaxCheck.cs
- HttpHandlersSection.cs
- ExpressionValueEditor.cs
- ThemeInfoAttribute.cs
- CancellationHandlerDesigner.cs
- SqlServer2KCompatibilityCheck.cs
- VScrollProperties.cs
- TabRenderer.cs
- CultureInfoConverter.cs
- IDQuery.cs
- TransformPattern.cs
- DataError.cs
- ColumnCollection.cs
- Message.cs
- FieldNameLookup.cs
- MouseActionConverter.cs
- ToolStripManager.cs
- MultipleViewProviderWrapper.cs
- LinearGradientBrush.cs
- SecurityListenerSettingsLifetimeManager.cs
- CryptoHelper.cs
- PersonalizationStateInfoCollection.cs
- NonDualMessageSecurityOverHttp.cs
- XamlInt32CollectionSerializer.cs
- OrderingInfo.cs
- DateTimeOffset.cs
- mactripleDES.cs
- FilteredDataSetHelper.cs
- LoginCancelEventArgs.cs
- DependencyObjectPropertyDescriptor.cs
- WindowsEditBox.cs
- Dump.cs
- WebConfigurationHost.cs
- SecurityContext.cs
- SystemKeyConverter.cs
- InputScope.cs
- System.Data.OracleClient_BID.cs
- WinFormsSecurity.cs
- HttpHeaderCollection.cs
- safelink.cs
- Helpers.cs
- TokenBasedSet.cs
- XamlWrappingReader.cs
- StrokeNodeData.cs
- BadImageFormatException.cs
- UiaCoreApi.cs
- WaitForChangedResult.cs
- AddingNewEventArgs.cs
- BindingExpressionBase.cs
- DependencySource.cs
- UnsafeNativeMethods.cs
- WebPartConnectionsDisconnectVerb.cs
- UpdateException.cs