Open sandboxFocus

Constructor RequirePostSharpAttribute

RequirePostSharpAttribute(string, string)

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

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

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

string task

Name of the required task (should be defined in plugIn).

RequirePostSharpAttribute(string)

Initializes a new RequirePostSharpAttribute 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

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

RequirePostSharpAttribute(Type)

Initializes a new RequirePostSharpAttribute and specifies the required IService type.

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

A type derived from IService.