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
- VariableReference.cs
- QueueProcessor.cs
- DoubleIndependentAnimationStorage.cs
- DoubleCollectionValueSerializer.cs
- CreateUserWizardStep.cs
- InvalidEnumArgumentException.cs
- SmiMetaData.cs
- BaseHashHelper.cs
- ListBoxItemAutomationPeer.cs
- EventLevel.cs
- TemplateBamlRecordReader.cs
- SaveFileDialog.cs
- ArraySegment.cs
- SchemaMapping.cs
- ApplicationInfo.cs
- RecordManager.cs
- TextParentUndoUnit.cs
- CancellationTokenSource.cs
- IODescriptionAttribute.cs
- WSSecurityPolicy.cs
- DebugHandleTracker.cs
- EnumValAlphaComparer.cs
- ThicknessAnimation.cs
- SystemException.cs
- Socket.cs
- XmlSchemaAny.cs
- Tokenizer.cs
- HandleDictionary.cs
- ColorTransformHelper.cs
- Privilege.cs
- HtmlContainerControl.cs
- FatalException.cs
- ConfigUtil.cs
- InProcStateClientManager.cs
- DockingAttribute.cs
- StateMachineWorkflow.cs
- Statements.cs
- IgnorePropertiesAttribute.cs
- HandlerFactoryWrapper.cs
- ProviderMetadata.cs
- ConfigXmlCDataSection.cs
- TemplateBaseAction.cs
- DependencyPropertyDescriptor.cs
- DebugManager.cs
- RoutedEvent.cs
- ToolStripMenuItem.cs
- TTSVoice.cs
- WebPermission.cs
- HostingEnvironmentException.cs
- LinqDataSourceUpdateEventArgs.cs
- objectresult_tresulttype.cs
- RestHandlerFactory.cs
- SiteMembershipCondition.cs
- IxmlLineInfo.cs
- ChannelBase.cs
- EventProviderClassic.cs
- BeginSelectCardRequest.cs
- XamlInterfaces.cs
- PermissionSetTriple.cs
- InitialServerConnectionReader.cs
- ErrorHandler.cs
- TimeSpanSecondsConverter.cs
- PackagingUtilities.cs
- UndirectedGraph.cs
- wgx_commands.cs
- EntityDataSourceQueryBuilder.cs
- EdgeModeValidation.cs
- ColorKeyFrameCollection.cs
- SingleResultAttribute.cs
- sqlnorm.cs
- IncrementalReadDecoders.cs
- CopyAttributesAction.cs
- EntryPointNotFoundException.cs
- DrawingBrush.cs
- ListViewInsertedEventArgs.cs
- PasswordRecovery.cs
- HtmlHead.cs
- BindingMAnagerBase.cs
- Adorner.cs
- Enum.cs
- GiveFeedbackEvent.cs
- MetadataCacheItem.cs
- ListViewTableRow.cs
- SqlRecordBuffer.cs
- MessagePropertyVariants.cs
- HostedHttpTransportManager.cs
- PreProcessInputEventArgs.cs
- StoreItemCollection.Loader.cs
- VariableAction.cs
- SqlTypeSystemProvider.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- safemediahandle.cs
- ImageFormat.cs
- wmiprovider.cs
- ReadOnlyDataSourceView.cs
- SrgsToken.cs
- FillErrorEventArgs.cs
- ColumnReorderedEventArgs.cs
- NullEntityWrapper.cs
- ReliabilityContractAttribute.cs