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
- PartialTrustHelpers.cs
- MustUnderstandBehavior.cs
- ResourceKey.cs
- TextViewBase.cs
- SecurityCredentialsManager.cs
- AspNetRouteServiceHttpHandler.cs
- WinEventWrap.cs
- XmlTextReaderImpl.cs
- ConfigurationErrorsException.cs
- ListParaClient.cs
- ToolStripDropDownButton.cs
- OSFeature.cs
- DataBoundControlHelper.cs
- ReadOnlyCollectionBase.cs
- MsmqEncryptionAlgorithm.cs
- Internal.cs
- TypeBuilderInstantiation.cs
- RegionIterator.cs
- XmlBoundElement.cs
- ArgumentException.cs
- XmlEncodedRawTextWriter.cs
- TraceUtility.cs
- AxHostDesigner.cs
- BitmapEffect.cs
- RequestQueryParser.cs
- TableRow.cs
- validationstate.cs
- GPPOINT.cs
- ProbeMatchesMessageCD1.cs
- PagerSettings.cs
- PropertyGridEditorPart.cs
- TableItemStyle.cs
- BamlWriter.cs
- NetCodeGroup.cs
- FixedSOMGroup.cs
- OpenTypeCommon.cs
- DynamicPropertyHolder.cs
- ClientOptions.cs
- TypeValidationEventArgs.cs
- PropertyGridEditorPart.cs
- ScriptingProfileServiceSection.cs
- HttpListener.cs
- FixUp.cs
- OperationCanceledException.cs
- PassportPrincipal.cs
- WebPartUserCapability.cs
- JournalNavigationScope.cs
- SQLMoneyStorage.cs
- PrimarySelectionAdorner.cs
- CanonicalFontFamilyReference.cs
- BitmapInitialize.cs
- ArraySegment.cs
- MapPathBasedVirtualPathProvider.cs
- Calendar.cs
- XamlWrappingReader.cs
- MessageRpc.cs
- CLSCompliantAttribute.cs
- PersistenceParticipant.cs
- ByteKeyFrameCollection.cs
- UnknownBitmapDecoder.cs
- XmlSchemaSimpleContent.cs
- BinaryFormatter.cs
- PreProcessor.cs
- OledbConnectionStringbuilder.cs
- XmlWrappingWriter.cs
- ContextMarshalException.cs
- MD5CryptoServiceProvider.cs
- ListSurrogate.cs
- ViewStateException.cs
- TextTreeInsertElementUndoUnit.cs
- prompt.cs
- OutputWindow.cs
- XmlNullResolver.cs
- CodeStatement.cs
- ClientEventManager.cs
- DragDropHelper.cs
- BindingWorker.cs
- TextChangedEventArgs.cs
- FunctionQuery.cs
- UIHelper.cs
- BorderGapMaskConverter.cs
- XmlEnumAttribute.cs
- XmlText.cs
- PropertyInfo.cs
- WindowsRegion.cs
- DateTimeConverter.cs
- Binding.cs
- ColorConverter.cs
- Int32KeyFrameCollection.cs
- ShaperBuffers.cs
- MulticastOption.cs
- XmlCharCheckingReader.cs
- InvalidCastException.cs
- DrawListViewSubItemEventArgs.cs
- ProcessModuleCollection.cs
- SoapMessage.cs
- InputScopeAttribute.cs
- SafeSecurityHelper.cs
- ClosureBinding.cs
- CalendarData.cs