public void LoadKip(string kipFile) { using (IStorage fs = new LocalStorage(kipFile, FileAccess.Read)) { ProgramLoader.LoadKip(KernelContext, new KipExecutable(fs)); } }
public void LoadKip(string kipPath) { using IStorage kipFile = new LocalStorage(kipPath, FileAccess.Read); ProgramLoader.LoadKip(KernelContext, new KipExecutable(kipFile)); }
public void LoadKip(string kipPath) { using var kipFile = new SharedRef <IStorage>(new LocalStorage(kipPath, FileAccess.Read)); ProgramLoader.LoadKip(KernelContext, new KipExecutable(in kipFile)); }