Open sandboxFocus

Constructor RequirePostSharpAttribute

RequirePostSharpAttribute(string, string)

Initializes a new instance of the RequirePostSharpAttribute class and specifies the required plug-in name and task name.

Declaration
public RequirePostSharpAttribute(string plugIn, string task)
Parameters
Type Name Description
string plugIn

The name of the required plug-in (file name without extension).

string task

The name of the required task. It should be defined in plugIn.

RequirePostSharpAttribute(string)

Initializes a new instance of the RequirePostSharpAttribute class and specifies the required plug-in name. All implicit (auto-included) tasks of that plug-in will be added to the project.

Declaration
public RequirePostSharpAttribute(string plugIn)
Parameters
Type Name Description
string plugIn

The name of the required plug-in (file name without extension).

RequirePostSharpAttribute(Type)

Initializes a new instance of the RequirePostSharpAttribute class and specifies the required IService type.

Declaration
public RequirePostSharpAttribute(Type serviceType)
Parameters
Type Name Description
Type serviceType

A type derived from IService.