Show / Hide Table of Contents

Class ServicesManager

Inheritance
System.Object
ServicesManager
Implements
System.IDisposable
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: Phoenix
Assembly: Phoenix.Core.dll
Syntax
public class ServicesManager : IDisposable

Properties

View Source

ValidateBuild

Gets or sets a value indicating whether or not to validate all services can be built.

Declaration
public static bool ValidateBuild { get; set; }
Property Value
Type Description
System.Boolean
View Source

ValidateScopes

Gets or sets a value indicating whether or not to validate scoped services never get resolved from the root provider.

Declaration
public static bool ValidateScopes { get; set; }
Property Value
Type Description
System.Boolean

Methods

View Source

CreateManager(Action<IServiceCollection>, Action<IServiceProvider>)

Declaration
public static ServicesManager CreateManager(Action<IServiceCollection> serviceDelegate, Action<IServiceProvider> postDelegate = null)
Parameters
Type Name Description
System.Action<IServiceCollection> serviceDelegate
System.Action<System.IServiceProvider> postDelegate
Returns
Type Description
ServicesManager
View Source

Dispose()

Declaration
public void Dispose()
View Source

ShutdownServices(CancellationToken)

Declaration
public void ShutdownServices(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken
View Source

StartServices(CancellationToken)

Declaration
public void StartServices(CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

Implements

System.IDisposable
  • View Source
In This Article
Back to top Generated by DocFX