Exemple #1
0
        public Task <Kernel> ConnectKernelAsync(KernelInfo kernelInfo)
        {
            var kernel = new SQLiteKernel(
                $"sql-{kernelInfo}",
                ConnectionString);

            return(Task.FromResult <Kernel>(kernel));
        }
Exemple #2
0
        public override Task <Kernel> CreateKernelAsync(
            SQLiteConnectionOptions options,
            KernelInvocationContext context)
        {
            var kernel = new SQLiteKernel(
                $"sql-{options.KernelName}",
                options.ConnectionString);

            return(Task.FromResult <Kernel>(kernel));
        }