public ICoreTaskFluentInterface GetCoreTaskFluentInterface(ITaskContextInternal taskContext)
        {
            var t = _sp.GetRequiredService <ICoreTaskFluentInterface>();
            CoreTaskFluentInterface coreTask = (CoreTaskFluentInterface)t;

            coreTask.Context = (TaskContext)taskContext;
            LinuxTaskFluentInterface linuxTask = (LinuxTaskFluentInterface)coreTask.LinuxTasks();

            linuxTask.Context = (TaskContext)taskContext;
            return(coreTask);
        }
Exemple #2
0
 public CoreTaskFluentInterface(ILinuxTaskFluentInterface linuxFluent)
 {
     _linuxFluent = (LinuxTaskFluentInterface)linuxFluent;
 }
Exemple #3
0
 public CoreTaskFluentInterface(ILinuxTaskFluentInterface linuxFluent, IToolsFluentInterface toolsFluent)
 {
     _toolsFluent = (ToolsFluentInterface)toolsFluent;
     _linuxFluent = (LinuxTaskFluentInterface)linuxFluent;
 }