Exemplo n.º 1
0
        internal static void AdapterInitialize(List <Type> tasks)
        {
            var tmpTask = new List <Type>();

            if (tasks.Any())
            {
                tmpTask.AddRange(tasks.Where(task => !_commonTask.Contains(task)));
            }
            InitializeTaskFatory.Configurate(tmpTask.ToArray());
        }
Exemplo n.º 2
0
 internal static async Task <bool> InitializeCommonTask()
 {
     _commonTask = CommandInitialTaskTypes.CommandInitialTask;
     InitializeTaskFatory.Configurate(_commonTask.ToArray());
     return(await InitializeTaskFatory.ExcuteInitialize());
 }