﻿// Decompiled with JetBrains decompiler
// Type: System.ComponentModel.Design.ServiceCreatorCallback
// 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;
using System.Runtime.InteropServices;
using System.Security.Permissions;

namespace System.ComponentModel.Design
{
  /// <summary>
  /// Provides a callback mechanism that can create an instance of a service on demand.
  /// </summary>
  /// 
  /// <returns>
  /// The service specified by <paramref name="serviceType"/>, or null if the service could not be created.
  /// </returns>
  /// <param name="container">The service container that requested the creation of the service. </param><param name="serviceType">The type of service to create. </param>
  [ComVisible(true)]
  [HostProtection(SecurityAction.LinkDemand, SharedState = true)]
  public delegate object ServiceCreatorCallback(IServiceContainer container, Type serviceType);
}
