Class ZptSharpServiceCollectionExtensions
Extension methods for Microsoft.Extensions.DependencyInjection.IServiceCollection instances.
Inheritance
System.Object
ZptSharpServiceCollectionExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZptSharp
Assembly: ZptSharp.dll
Syntax
public static class ZptSharpServiceCollectionExtensions
Methods
| Improve this Doc View SourceAddZptSharp(IServiceCollection)
Adds service registrations to the serviceCollection
in order
to enable the basic/core ZPT-Sharp functionality.
Declaration
public static IBuildsHostingEnvironment AddZptSharp(this IServiceCollection serviceCollection)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.DependencyInjection.IServiceCollection | serviceCollection | A service collection to which registrations will be added. |
Returns
Type | Description |
---|---|
IBuildsHostingEnvironment | A ZptSharp hosting builder. |