Class Kernel
Inheritance
System.Object
Kernel
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()
Assembly: Catalyst.Core.Lib.dll
Syntax
public sealed class Kernel : IDisposable
Fields
|
Improve this Doc
View Source
Instance
Declaration
public ILifetimeScope Instance
Field Value
Type |
Description |
ILifetimeScope |
|
Properties
|
Improve this Doc
View Source
CancellationTokenProvider
Declaration
public ICancellationTokenProvider CancellationTokenProvider { get; }
Property Value
|
Improve this Doc
View Source
ContainerBuilder
Declaration
public ContainerBuilder ContainerBuilder { get; set; }
Property Value
Type |
Description |
ContainerBuilder |
|
|
Improve this Doc
View Source
Logger
Declaration
public ILogger Logger { get; }
Property Value
Methods
|
Improve this Doc
View Source
BuildKernel(Boolean, String)
Declaration
public Kernel BuildKernel(bool overwrite = false, string overrideNetworkFile = null)
Parameters
Type |
Name |
Description |
System.Boolean |
overwrite |
|
System.String |
overrideNetworkFile |
|
Returns
|
Improve this Doc
View Source
CurrentDomain_ProcessExit(Object, EventArgs)
Declaration
public void CurrentDomain_ProcessExit(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
|
Improve this Doc
View Source
Dispose()
Declaration
|
Improve this Doc
View Source
Initramfs(Boolean, String, ICancellationTokenProvider)
Declaration
public static Kernel Initramfs(bool overwrite = false, string fileName = "Catalyst.Node..log", ICancellationTokenProvider cancellationTokenProvider = null)
Parameters
Returns
|
Improve this Doc
View Source
LogUnhandledException(Object, UnhandledExceptionEventArgs)
Declaration
public void LogUnhandledException(object sender, UnhandledExceptionEventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.UnhandledExceptionEventArgs |
e |
|
|
Improve this Doc
View Source
StartContainer()
Declaration
public void StartContainer()
|
Improve this Doc
View Source
StartCustom(Kernel.CustomBootLogic)
Allows custom nodes to write custom code for containerBuilder
Declaration
public void StartCustom(Kernel.CustomBootLogic customBootLogic)
Parameters
|
Improve this Doc
View Source
WithConfigCopier(IConfigCopier)
Declaration
public Kernel WithConfigCopier(IConfigCopier configCopier)
Parameters
Returns
|
Improve this Doc
View Source
WithConfigurationFile(String)
Declaration
public Kernel WithConfigurationFile(string configFileName)
Parameters
Type |
Name |
Description |
System.String |
configFileName |
|
Returns
|
Improve this Doc
View Source
WithDataDirectory()
Declaration
public Kernel WithDataDirectory()
Returns
|
Improve this Doc
View Source
WithNetworksConfigFile(NetworkType, String)
Declaration
public Kernel WithNetworksConfigFile(NetworkType networkType = null, string overrideNetworkFile = null)
Parameters
Type |
Name |
Description |
NetworkType |
networkType |
|
System.String |
overrideNetworkFile |
|
Returns
|
Improve this Doc
View Source
WithPassword(PasswordRegistryTypes, String)
Declaration
public Kernel WithPassword(PasswordRegistryTypes types, string password)
Parameters
Returns
|
Improve this Doc
View Source
WithPersistenceConfiguration(String)
Declaration
public Kernel WithPersistenceConfiguration(string configSection = null)
Parameters
Type |
Name |
Description |
System.String |
configSection |
|
Returns
|
Improve this Doc
View Source
WithSerilogConfigFile(String)
Declaration
public Kernel WithSerilogConfigFile(string serilog = null)
Parameters
Type |
Name |
Description |
System.String |
serilog |
|
Returns
Implements
System.IDisposable