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
- ClrProviderManifest.cs
- SourceElementsCollection.cs
- SourceFileBuildProvider.cs
- GcHandle.cs
- PermissionRequestEvidence.cs
- LinkLabel.cs
- ClientCultureInfo.cs
- ButtonRenderer.cs
- ETagAttribute.cs
- ButtonStandardAdapter.cs
- UpdateCommand.cs
- FirewallWrapper.cs
- WorkerRequest.cs
- CorrelationScope.cs
- FormattedText.cs
- Common.cs
- WsatEtwTraceListener.cs
- TileBrush.cs
- DesignerDataColumn.cs
- MultiAsyncResult.cs
- CompensationToken.cs
- InvalidCommandTreeException.cs
- XmlConvert.cs
- SR.cs
- WebProxyScriptElement.cs
- X500Name.cs
- FacetEnabledSchemaElement.cs
- XmlObjectSerializerWriteContext.cs
- PasswordPropertyTextAttribute.cs
- DESCryptoServiceProvider.cs
- backend.cs
- BufferedOutputAsyncStream.cs
- XmlDataSource.cs
- StyleXamlTreeBuilder.cs
- RelationshipEndMember.cs
- ZoneMembershipCondition.cs
- xsdvalidator.cs
- TemplatedWizardStep.cs
- MethodImplAttribute.cs
- CryptoStream.cs
- SubMenuStyle.cs
- WindowProviderWrapper.cs
- NameScopePropertyAttribute.cs
- HttpProfileGroupBase.cs
- TextTrailingCharacterEllipsis.cs
- FloaterBaseParagraph.cs
- SqlDeflator.cs
- CommentEmitter.cs
- GlyphCollection.cs
- Queue.cs
- ComEventsInfo.cs
- FixedPageStructure.cs
- ITreeGenerator.cs
- MatrixAnimationUsingKeyFrames.cs
- WhiteSpaceTrimStringConverter.cs
- FlowDocumentView.cs
- ListBox.cs
- ConvertEvent.cs
- XmlReaderSettings.cs
- XmlEncodedRawTextWriter.cs
- MetadataCache.cs
- TypeBuilderInstantiation.cs
- CharKeyFrameCollection.cs
- WebPartRestoreVerb.cs
- LinkTarget.cs
- HtmlInputImage.cs
- DrawingContext.cs
- ShaperBuffers.cs
- HandledEventArgs.cs
- DotAtomReader.cs
- SettingsPropertyWrongTypeException.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- FolderLevelBuildProviderCollection.cs
- CultureTableRecord.cs
- StyleCollection.cs
- Property.cs
- AnonymousIdentificationSection.cs
- SQLCharsStorage.cs
- NumericUpDownAccelerationCollection.cs
- ReflectPropertyDescriptor.cs
- AspNetHostingPermission.cs
- SelectedDatesCollection.cs
- FileUtil.cs
- ColorMap.cs
- MarshalByValueComponent.cs
- ConditionalAttribute.cs
- TextTreeRootTextBlock.cs
- SR.Designer.cs
- AnimatedTypeHelpers.cs
- ExtractedStateEntry.cs
- EntityContainerEntitySetDefiningQuery.cs
- HostingEnvironmentWrapper.cs
- TextParagraphProperties.cs
- BaseDataBoundControlDesigner.cs
- Int32CAMarshaler.cs
- WhitespaceRuleLookup.cs
- TextDpi.cs
- Compress.cs
- ImageMap.cs
- HealthMonitoringSectionHelper.cs