Ejemplo n.º 1
0
        public async Task DoAsync <TTask>()
            where TTask : IAsyncTask <TSubject>
        {
            CheckForSubject();

            var task = factory.CreateAsync <TTask>();
            await task.Run(subject);
        }