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
- LiteralText.cs
- AsynchronousChannel.cs
- MenuScrollingVisibilityConverter.cs
- SpotLight.cs
- DataServiceEntityAttribute.cs
- ModelChangedEventArgsImpl.cs
- DictionaryEntry.cs
- WebPartZone.cs
- SQLMembershipProvider.cs
- DocumentPaginator.cs
- ProcessModelSection.cs
- EpmContentDeSerializerBase.cs
- SerializableTypeCodeDomSerializer.cs
- PathSegmentCollection.cs
- LocalizabilityAttribute.cs
- _NegoState.cs
- ProcessDesigner.cs
- AsyncParams.cs
- UnmanagedHandle.cs
- DataServiceQueryProvider.cs
- CharacterMetricsDictionary.cs
- CompModSwitches.cs
- VisualStyleInformation.cs
- FocusChangedEventArgs.cs
- Addressing.cs
- DataPagerCommandEventArgs.cs
- GradientStopCollection.cs
- RoutingChannelExtension.cs
- XAMLParseException.cs
- AutoResetEvent.cs
- Span.cs
- JulianCalendar.cs
- Codec.cs
- WindowsAltTab.cs
- _CookieModule.cs
- CompiledAction.cs
- InvalidPrinterException.cs
- DataGridViewColumn.cs
- ArrayTypeMismatchException.cs
- BooleanFacetDescriptionElement.cs
- OperandQuery.cs
- X509RawDataKeyIdentifierClause.cs
- HtmlTableCellCollection.cs
- Rect3D.cs
- ProgressChangedEventArgs.cs
- DirectoryNotFoundException.cs
- PasswordDeriveBytes.cs
- MemoryRecordBuffer.cs
- ConfigurationElementProperty.cs
- Misc.cs
- XmlAnyElementAttributes.cs
- WriteableOnDemandStream.cs
- ZipIOLocalFileDataDescriptor.cs
- InkCanvasAutomationPeer.cs
- ReservationCollection.cs
- Brush.cs
- WebPartTracker.cs
- SQLGuid.cs
- StrokeCollectionConverter.cs
- SocketElement.cs
- XamlParser.cs
- EditorPart.cs
- FontSource.cs
- EventListener.cs
- GeneralTransform3DCollection.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- IsolatedStorageFile.cs
- _SecureChannel.cs
- MessageQueueEnumerator.cs
- ProfilePropertySettings.cs
- StringExpressionSet.cs
- ClientBuildManager.cs
- ProfileGroupSettings.cs
- RegistrySecurity.cs
- RightsManagementLicense.cs
- ProxyManager.cs
- PerformanceCounter.cs
- CapabilitiesRule.cs
- FileDialogCustomPlacesCollection.cs
- FormattedTextSymbols.cs
- PropertyExpression.cs
- CallbackValidator.cs
- RecordsAffectedEventArgs.cs
- RepeatBehavior.cs
- UpdateTranslator.cs
- Scene3D.cs
- FormsAuthentication.cs
- XmlSecureResolver.cs
- ConnectionsZoneDesigner.cs
- EdmError.cs
- PropertyEntry.cs
- TraceSection.cs
- SortQuery.cs
- ParseNumbers.cs
- EventBindingService.cs
- RegexMatch.cs
- TypeResolver.cs
- Operand.cs
- HttpStreamMessage.cs
- SafeWaitHandle.cs