Ejemplo n.º 1
0
 /// <summary>
 /// Creates an <see cref="IJobOperator"/> with the specified <see cref="UnityLoader"/> and the given job specification.
 /// </summary>
 /// <param name="loader"></param>
 /// <param name="job">The job specification used to build the <see cref="UnityLoader"/>.</param>
 /// <returns>An instance of <see cref="IJobOperator"/>.</returns>
 public static IJobOperator GetJobOperator(UnityLoader loader, XmlJob job)
 {
     loader.Job = job;
     return GetJobOperator(loader);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates an <see cref="IJobOperator"/> with a <see cref="UnityLoader"/> build with the given job specification.
 /// </summary>
 /// <param name="job">The job specification used to build the <see cref="UnityLoader"/>.</param>
 /// <returns>An instance of <see cref="IJobOperator"/>.</returns>
 public static IJobOperator GetJobOperator(XmlJob job)
 {
     return GetJobOperator(new UnityLoader { Job = job });
 }