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
- ThreadStaticAttribute.cs
- ChineseLunisolarCalendar.cs
- DBSqlParser.cs
- Html32TextWriter.cs
- SiteIdentityPermission.cs
- ResourceKey.cs
- MasterPageCodeDomTreeGenerator.cs
- QuaternionAnimation.cs
- ConsoleTraceListener.cs
- KnownTypeHelper.cs
- Run.cs
- SchemaImporterExtension.cs
- SecurityCriticalDataForSet.cs
- StringToken.cs
- XXXOnTypeBuilderInstantiation.cs
- HttpPostProtocolReflector.cs
- XmlSchemaComplexContentRestriction.cs
- XamlInterfaces.cs
- HashStream.cs
- Image.cs
- OdbcPermission.cs
- DayRenderEvent.cs
- Msec.cs
- ExceptionNotification.cs
- IItemProperties.cs
- ButtonField.cs
- BindingSource.cs
- Quaternion.cs
- Enum.cs
- DocumentScope.cs
- TextTreeUndo.cs
- SimpleTypeResolver.cs
- MultitargetUtil.cs
- EntityDataSourceEntitySetNameItem.cs
- DataControlField.cs
- BufferedOutputStream.cs
- DateTimeConstantAttribute.cs
- PermissionSetEnumerator.cs
- OleDbDataAdapter.cs
- EventData.cs
- DescendentsWalker.cs
- ControlFilterExpression.cs
- DocumentGrid.cs
- CodeDirectoryCompiler.cs
- EntryWrittenEventArgs.cs
- SEHException.cs
- NodeFunctions.cs
- Expander.cs
- BindingWorker.cs
- NavigationService.cs
- PassportIdentity.cs
- _AuthenticationState.cs
- TextChange.cs
- XDeferredAxisSource.cs
- DockingAttribute.cs
- InstallHelper.cs
- UmAlQuraCalendar.cs
- ClientSettingsStore.cs
- LocatorPart.cs
- DocobjHost.cs
- MarkupWriter.cs
- ValueOfAction.cs
- UnknownBitmapDecoder.cs
- AttachedPropertyBrowsableAttribute.cs
- VirtualDirectoryMappingCollection.cs
- PersistenceException.cs
- WebPart.cs
- PermissionSet.cs
- LayoutTable.cs
- TextServicesCompartmentEventSink.cs
- BasicCommandTreeVisitor.cs
- DataControlField.cs
- NamespaceCollection.cs
- _NestedSingleAsyncResult.cs
- OleDbError.cs
- HTMLTagNameToTypeMapper.cs
- BitmapEffectGroup.cs
- VectorKeyFrameCollection.cs
- CurrentChangedEventManager.cs
- StringStorage.cs
- BooleanFunctions.cs
- PrimitiveSchema.cs
- FrameworkName.cs
- TextElementEnumerator.cs
- SqlClientWrapperSmiStream.cs
- NativeMethods.cs
- TimersDescriptionAttribute.cs
- ObjectDataProvider.cs
- Control.cs
- DataMemberFieldConverter.cs
- QuaternionAnimationBase.cs
- RichTextBox.cs
- NavigationProperty.cs
- ScriptResourceAttribute.cs
- AxDesigner.cs
- VisualStyleInformation.cs
- MediaContext.cs
- ZoneButton.cs
- TreeNodeStyle.cs
- LocatorPartList.cs