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
- oledbconnectionstring.cs
- TemplateControlBuildProvider.cs
- QilGeneratorEnv.cs
- ParameterToken.cs
- SocketAddress.cs
- ViewUtilities.cs
- RC2CryptoServiceProvider.cs
- ListItemCollection.cs
- BuildManager.cs
- SingleObjectCollection.cs
- ProvidePropertyAttribute.cs
- CodeCastExpression.cs
- RenderData.cs
- ArrayMergeHelper.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- InProcStateClientManager.cs
- HtmlInputImage.cs
- ClientConfigurationHost.cs
- ObfuscationAttribute.cs
- ObjectContext.cs
- EntitySqlQueryCacheKey.cs
- ZipIOExtraFieldElement.cs
- UnsafeNativeMethods.cs
- BasicExpressionVisitor.cs
- ContextMenu.cs
- ControlBuilderAttribute.cs
- UIElementCollection.cs
- DataGridViewColumn.cs
- HtmlEmptyTagControlBuilder.cs
- SliderAutomationPeer.cs
- FormsAuthenticationUser.cs
- __FastResourceComparer.cs
- WpfKnownMember.cs
- ContextMenu.cs
- ProtocolsConfiguration.cs
- ProjectionPath.cs
- CharacterHit.cs
- COAUTHINFO.cs
- TextAction.cs
- ToolStripTemplateNode.cs
- Assert.cs
- ErrorTableItemStyle.cs
- BitmapDecoder.cs
- JournalEntryListConverter.cs
- SupportingTokenProviderSpecification.cs
- EmptyElement.cs
- FindCriteriaCD1.cs
- AutomationPatternInfo.cs
- EncoderParameter.cs
- ItemsChangedEventArgs.cs
- GroupPartitionExpr.cs
- XsltFunctions.cs
- WindowsGraphics2.cs
- LoginAutoFormat.cs
- ValueType.cs
- FutureFactory.cs
- ComplexPropertyEntry.cs
- WorkflowMarkupSerializationManager.cs
- PrintEvent.cs
- MILUtilities.cs
- TreeView.cs
- HelpProvider.cs
- SqlDataSourceStatusEventArgs.cs
- ResourceProperty.cs
- WaitHandle.cs
- MessageHeader.cs
- CodePageUtils.cs
- BindableTemplateBuilder.cs
- RegexMatch.cs
- LinearQuaternionKeyFrame.cs
- KeyEventArgs.cs
- AuthenticationModulesSection.cs
- EntityKey.cs
- TrustManager.cs
- TreeNode.cs
- SQLMoney.cs
- EventNotify.cs
- ServiceModelTimeSpanValidator.cs
- DrawingContextDrawingContextWalker.cs
- CryptoStream.cs
- XsdCachingReader.cs
- GeneralTransform2DTo3DTo2D.cs
- WebPartsPersonalization.cs
- UpdateEventArgs.cs
- Command.cs
- XmlStringTable.cs
- XmlTextReaderImpl.cs
- ComponentDesigner.cs
- CaseStatement.cs
- KeyBinding.cs
- KeyValuePairs.cs
- DataGridViewButtonColumn.cs
- RangeContentEnumerator.cs
- ExternalCalls.cs
- SettingsBase.cs
- MultiAsyncResult.cs
- XmlNodeComparer.cs
- PropertyMetadata.cs
- RawStylusSystemGestureInputReport.cs
- SecurityChannelFaultConverter.cs