Example #1
0
 public void LoadKip(string kipFile)
 {
     using (IStorage fs = new LocalStorage(kipFile, FileAccess.Read))
     {
         ProgramLoader.LoadKip(KernelContext, new KipExecutable(fs));
     }
 }
Example #2
0
        public void LoadKip(string kipPath)
        {
            using IStorage kipFile = new LocalStorage(kipPath, FileAccess.Read);

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

            ProgramLoader.LoadKip(KernelContext, new KipExecutable(in kipFile));
        }