Example #1
0
        public void Restart()
        {
            WamMachine.Initialize();

            Synchronize();

            QueryResults = null;
        }
Example #2
0
 public static WamMachine Create(Program program, Query query)
 {
     if (program == null)
     {
         throw new ArgumentNullException("program");
     }
     if (query == null)
     {
         throw new ArgumentNullException("query");
     }
     var wamMachine = new WamMachine(program, query);
     wamMachine.Initialize();
     return wamMachine;
 }
Example #3
0
        public static WamMachine Create(Program program, Query query)
        {
            if (program == null)
            {
                throw new ArgumentNullException("program");
            }
            if (query == null)
            {
                throw new ArgumentNullException("query");
            }
            var wamMachine = new WamMachine(program, query);

            wamMachine.Initialize();
            return(wamMachine);
        }