PostSharp 6.8 / / 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: 6.8.6.0 (6.8.6.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