Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / ContainerFilterService.cs / 1305376 / 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
- TdsParameterSetter.cs
- Tokenizer.cs
- PositiveTimeSpanValidator.cs
- EditorPartChrome.cs
- IntegerValidator.cs
- NumberFunctions.cs
- RecordConverter.cs
- ObjectContext.cs
- XmlSchemaSimpleTypeUnion.cs
- AssertSection.cs
- Graph.cs
- EditorZoneBase.cs
- ImageListStreamer.cs
- SourceLineInfo.cs
- RawStylusSystemGestureInputReport.cs
- HttpValueCollection.cs
- MultilineStringConverter.cs
- DebuggerAttributes.cs
- SEHException.cs
- WebPartManager.cs
- EventListenerClientSide.cs
- InstancePersistenceEvent.cs
- ResponseBodyWriter.cs
- WmpBitmapEncoder.cs
- ComboBoxRenderer.cs
- Stopwatch.cs
- XmlDownloadManager.cs
- ParameterModifier.cs
- AdPostCacheSubstitution.cs
- MessageTraceRecord.cs
- Authorization.cs
- DetailsView.cs
- Mapping.cs
- PointAnimation.cs
- SelectedGridItemChangedEvent.cs
- Transactions.cs
- AssemblyContextControlItem.cs
- XhtmlMobileTextWriter.cs
- IERequestCache.cs
- FlowDocumentPage.cs
- DataGridViewCellMouseEventArgs.cs
- DocumentReferenceCollection.cs
- BinHexEncoding.cs
- ListManagerBindingsCollection.cs
- VirtualPath.cs
- HMAC.cs
- LogManagementAsyncResult.cs
- ValueSerializer.cs
- Encoding.cs
- HttpApplicationStateWrapper.cs
- CancellationHandler.cs
- TextViewDesigner.cs
- ImpersonationOption.cs
- ListViewItem.cs
- SiteMapNodeCollection.cs
- ScrollEventArgs.cs
- EndpointIdentityExtension.cs
- Base64Encoding.cs
- TextEmbeddedObject.cs
- SystemIPv4InterfaceProperties.cs
- ContextStack.cs
- OdbcRowUpdatingEvent.cs
- GeometryCollection.cs
- HttpSysSettings.cs
- HandlerMappingMemo.cs
- FunctionDetailsReader.cs
- Keywords.cs
- KeyboardDevice.cs
- DeclaredTypeElement.cs
- RequestTimeoutManager.cs
- RegexReplacement.cs
- MapPathBasedVirtualPathProvider.cs
- StrongNameMembershipCondition.cs
- DataRecord.cs
- NativeCompoundFileAPIs.cs
- MediaSystem.cs
- FormView.cs
- HandleExceptionArgs.cs
- mediaeventargs.cs
- LocationUpdates.cs
- SqlDataSourceEnumerator.cs
- DBCommandBuilder.cs
- PackWebRequestFactory.cs
- XmlBufferReader.cs
- ScrollableControl.cs
- NullNotAllowedCollection.cs
- DataGridViewCellConverter.cs
- LogRestartAreaEnumerator.cs
- ParentControlDesigner.cs
- TrackingConditionCollection.cs
- UIElement3D.cs
- SqlDataSourceCache.cs
- NullableBoolConverter.cs
- TileBrush.cs
- SystemIcmpV4Statistics.cs
- BaseCAMarshaler.cs
- InlineUIContainer.cs
- Debug.cs
- XmlTypeAttribute.cs
- TextBoxBase.cs