Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Rect3DConverter.cs
- ConnectionManagementSection.cs
- StorageBasedPackageProperties.cs
- DuplicateWaitObjectException.cs
- SoapAttributeAttribute.cs
- HashCodeCombiner.cs
- CompensationParticipant.cs
- TraceSection.cs
- DesignerForm.cs
- WorkflowTransactionOptions.cs
- DocumentPaginator.cs
- Evidence.cs
- ListGeneralPage.cs
- OlePropertyStructs.cs
- DrawingGroup.cs
- DataRecordObjectView.cs
- MappingModelBuildProvider.cs
- NextPreviousPagerField.cs
- XmlUtil.cs
- StatusBar.cs
- DetailsViewInsertedEventArgs.cs
- DataControlCommands.cs
- Dispatcher.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- CodePageEncoding.cs
- JumpItem.cs
- TypeSource.cs
- DelegateHelpers.Generated.cs
- NullEntityWrapper.cs
- ConfigXmlDocument.cs
- ManifestResourceInfo.cs
- VectorCollectionConverter.cs
- ObjectPersistData.cs
- HandoffBehavior.cs
- DataServiceRequestArgs.cs
- ClearCollection.cs
- ColorTypeConverter.cs
- DSACryptoServiceProvider.cs
- TrackingProfileSerializer.cs
- Exceptions.cs
- TableAdapterManagerHelper.cs
- HttpContext.cs
- AssemblyResourceLoader.cs
- XmlSchemaSimpleType.cs
- XamlSerializer.cs
- SqlIdentifier.cs
- QuaternionConverter.cs
- ByeOperationCD1AsyncResult.cs
- basemetadatamappingvisitor.cs
- WinCategoryAttribute.cs
- HttpServerVarsCollection.cs
- Viewport3DVisual.cs
- ThreadAttributes.cs
- ExpressionVisitor.cs
- ControlIdConverter.cs
- PeerHopCountAttribute.cs
- XmlCharCheckingWriter.cs
- FlowDocumentReaderAutomationPeer.cs
- EventlogProvider.cs
- SoapFormatExtensions.cs
- ZipPackagePart.cs
- ArraySubsetEnumerator.cs
- PrintDialogException.cs
- ProxyAttribute.cs
- ComplexPropertyEntry.cs
- KeyTime.cs
- DataGridViewAutoSizeModeEventArgs.cs
- InvalidOperationException.cs
- CompilationLock.cs
- DataObject.cs
- AttributeSetAction.cs
- SingleAnimation.cs
- IndicShape.cs
- Calendar.cs
- SmtpLoginAuthenticationModule.cs
- IncrementalReadDecoders.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- WorkflowApplicationEventArgs.cs
- TextDecoration.cs
- ObjectItemCollection.cs
- ComPersistableTypeElement.cs
- RoleServiceManager.cs
- EngineSite.cs
- ReadWriteSpinLock.cs
- DecoderExceptionFallback.cs
- OpCodes.cs
- Point3D.cs
- LabelLiteral.cs
- WebPartEventArgs.cs
- DefaultTraceListener.cs
- MarkupCompilePass1.cs
- WebBrowserContainer.cs
- Cloud.cs
- FileInfo.cs
- ValidatorCollection.cs
- FileLevelControlBuilderAttribute.cs
- ClientScriptManagerWrapper.cs
- ConvertEvent.cs
- ControlPropertyNameConverter.cs
- ClientRolePrincipal.cs