Show / Hide Table of Contents

Class ServiceCollectionExtensions

Inheritance
System.Object
ServiceCollectionExtensions
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: Accelergreat.Xunit.Extensions
Assembly: Accelergreat.Xunit.dll
Syntax
public static class ServiceCollectionExtensions

Methods

AddAccelergreatComponent<TAccelergreatComponent>(IServiceCollection)

Declaration
public static IServiceCollection AddAccelergreatComponent<TAccelergreatComponent>(this IServiceCollection services)
    where TAccelergreatComponent : class, IAccelergreatComponent
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection
Type Parameters
Name Description
TAccelergreatComponent

AddSingletonAccelergreatComponent<TAccelergreatComponent>(IServiceCollection)

Declaration
public static IServiceCollection AddSingletonAccelergreatComponent<TAccelergreatComponent>(this IServiceCollection services)
    where TAccelergreatComponent : class, IAccelergreatComponent
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection
Type Parameters
Name Description
TAccelergreatComponent

AddTransientAccelergreatComponent<TAccelergreatComponent>(IServiceCollection)

Declaration
public static IServiceCollection AddTransientAccelergreatComponent<TAccelergreatComponent>(this IServiceCollection services)
    where TAccelergreatComponent : class, IAccelergreatComponent
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection
Type Parameters
Name Description
TAccelergreatComponent
In This Article
Back to top Copyright © Nanogunn Ltd.