|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Selen.WorkflowDesigner.Contracts;
using RehostedDesigner.Services.Contracts;
using System.Drawing;
using Selen.WorkflowDesigner.Storage.Contracts;
namespace Selen.ActivityWorkflowType
{
class VoidActivityType : IWorkflowType
{
public VoidActivityType()
{
var adapter = new ActivityStorageAdapter();
this.ToolboxCreatorService = new ToolboxCreatorServiceWithCustomActivities(adapter);
this.StorageAdapter = adapter;
}
public IToolboxCreatorService ToolboxCreatorService
{
get;
private set;
}
public IStorageAdapter StorageAdapter
{
get;
private set;
}
public string Description
{
get
{
return "This template does not create a workflow, but an activity-module, that can be reused in other workflows or activities. " +
"The activities you create with this template can normally be found in the toolbox after you loaded or created another workflow or activity, if supported by the concerning workflow type. " +
"It is possible to define arguments that you can pass into this activity or return from the activity, but there is no pre-defined return value";
}
}
public Bitmap Icon
{
get { return null; }
}
public string Name
{
get { return "Activity without return value"; }
}
public string Path
{
get { return "Standard"; }
}
public bool CanBeDisplayed
{
get { return true; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.