PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / IService­Locator Interface

IServiceLocator Interface

Exposes build-time services.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public interface IServiceLocator : IService

The IServiceLocator type exposes the following members.

Methods
  NameDescription
Public methodGetService<T>
Gets a build-time service exposed by PostSharp.
See Also