Beispiel #1
0
        public IEnumerator <IDev2Task> GetEnumerator()
        {
            IEnumerator <Task> e = _instance.GetEnumerator();

            while (e.MoveNext())
            {
                yield return(_taskServiceConvertorFactory.CreateTask(e.Current));
            }
        }
 public IDev2Task RegisterTaskDefinition(string Path, IDev2TaskDefinition definition)
 {
     return(_taskServiceConvertorFactory.CreateTask(Instance.RegisterTaskDefinition(Path, definition.Instance)));
 }
Beispiel #3
0
// ReSharper disable ParameterHidesMember
// ReSharper disable InconsistentNaming
        public IDev2Task RegisterTaskDefinition(string Path, IDev2TaskDefinition definition)
// ReSharper restore InconsistentNaming
// ReSharper restore ParameterHidesMember
        {
            return(_taskServiceConvertorFactory.CreateTask(Instance.RegisterTaskDefinition(Path, definition.Instance)));
        }
Beispiel #4
0
 public IDev2Task GetTask(string taskPath)
 {
     return(_taskServiceConvertorFactory.CreateTask(_nativeService.GetTask(taskPath)));
 }