Exemplo n.º 1
0
        private async Task <bool> StopInstance(ISentinel instance)
        {
            try
            {
                var stopped = await instance.Stop();

                if (stopped)
                {
                    instance = null;
                    GC.Collect();
                }
                return(stopped);
            }
            catch (Exception)
            {
                return(false);
            }
        }
Exemplo n.º 2
0
 public PackageInstance(PackageToRun packagePackageToRun, ISentinel instance)
 {
     PackageToRun = packagePackageToRun;
     Instance     = instance;
 }
Exemplo n.º 3
0
 public  ExpTail (Parser yyp):base(((PCParser
)yyp)){ m_sentinel = new  DefaultSentinel ();
}