public void fasdfasg() { using (var con = new TaskContainer()) { con.AddJobFromAssembly(this.GetType().Assembly); con.Start(); } }