﻿// Decompiled with JetBrains decompiler
// Type: System.ComponentModel.ContainerFilterService
// Assembly: System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// MVID: 5ABD58FD-DF31-44FD-A492-63F2B47CC9AF
// Assembly location: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.dll

using System.Runtime;
using System.Security.Permissions;

namespace System.ComponentModel
{
  /// <summary>
  /// Provides a base class for the container filter service.
  /// </summary>
  [HostProtection(SecurityAction.LinkDemand, SharedState = true)]
  public abstract class ContainerFilterService
  {
    /// <summary>
    /// Initializes a new instance of the <see cref="T:System.ComponentModel.ContainerFilterService"/> class.
    /// </summary>
    [TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
    protected ContainerFilterService()
    {
    }

    /// <summary>
    /// Filters the component collection.
    /// </summary>
    /// 
    /// <returns>
    /// A <see cref="T:System.ComponentModel.ComponentCollection"/> that represents a modified collection.
    /// </returns>
    /// <param name="components">The component collection to filter.</param>
    public virtual ComponentCollection FilterComponents(ComponentCollection components)
    {
      return components;
    }
  }
}
