IServiceRegistrar Interface

This interface provides a mechanism for code generators to register services in advance of code generation operations. Classes that implemenent this interface should export themselves as typeof(IServiceRegistrar) using ExportAttribute.

Namespace:  Microsoft.AspNet.Scaffolding
Assembly:  Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)

public interface IServiceRegistrar

The IServiceRegistrar type exposes the following members.

  NameDescription
Public methodRegisterServicesProvides a way to register services with the given IServiceContainer. The services added here can be used later by code generation operations through the IServiceProvider.
Top
Show: