Example #1
0
        public static void SetConfiguration(string sandboxFolder, Guid?id = null)
        {
            if (!id.HasValue)
            {
                id = Guid.NewGuid();
            }

            Current                = new WorkerConfiguration();
            Current._id            = id.Value;
            Current._sandboxFolder = sandboxFolder;
        }
		public static void SetConfiguration(string sandboxFolder, Guid? id = null)
		{
			if (!id.HasValue)
				id = Guid.NewGuid();

			Current = new WorkerConfiguration();
			Current._id = id.Value;
			Current._sandboxFolder = sandboxFolder;
		}