Class CorePackageRegistry
Inheritance
CorePackageRegistry
Assembly: Unity.Services.Core.Internal.dll
Syntax
public sealed class CorePackageRegistry
Properties
Instance
Get the unique package registry of this project.
Declaration
public static CorePackageRegistry Instance { get; }
Property Value
Methods
Register<TPackage>(TPackage)
Register a package initializer to be executed during services initialization.
Declaration
public CoreRegistration Register<TPackage>(TPackage package) where TPackage : IInitializablePackage
Parameters
Type |
Name |
Description |
TPackage |
package |
|
Returns
Type Parameters
Name |
Description |
TPackage |
|