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

            ProgramLoader.LoadKip(KernelContext, new KipExecutable(kipFile));
        }
Exemplo n.º 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));
        }