Async Task Manager

 This project allow you to manage asynchronous tasks using the .NET 4 Framework and Prism.

DOWNLOAD

[Source code] or [Latest build]

FEATURES

  • Create simple or repetitive tasks
  • Separate module with EventAggregator 
  • UI Ready
  • Different task lists :
    • Task in progress
    • Task completed

REQUIREMENTS

SCEENSHOTS

Tasks in progress

Task completed

Different colors are use to each status : succeed, failed, canceled

EXAMPLE

/// <summary>
/// Start a new simple task
/// </summary>
public void StartSimpleTask()
{
    Func<object> beginAction = () =>
                                    {
                                        Thread.Sleep(3000);
                                        return true;
                                    };

    Action<Task<object>> endAction = (result) =>
{ Text = "Ok"; }; var task = new TaskViewModel("Simple task !", beginAction, endAction); if (_eventAggregator != null) _eventAggregator.GetEvent<TaskEvent>().Publish(new TaskEventArgs(TaskEventArgsType.Started, task)); }

More example here

Last edited Feb 25, 2013 at 9:40 AM by lordinaire, version 12