C# Класс WixSharp.Action

Defines generic WiX CustomAction.

This class does not contain any public constructor and is only to be used as a base class for deriving specialized CustomActions (e.g. ) or for declaring heterogeneous collections.

Наследование: WixEntity
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Condition Condition
Execute Execute
Impersonate bool?
Return Return
Sequence WixSharp.Sequence
SequenceNumber int?
Step Step
When When

Защищенные свойства (Protected)

Свойство Тип Описание
count int

Открытые методы

Метод Описание
ToString ( ) : string

Returns a System.String that represents this instance.

Защищенные методы

Метод Описание
Action ( )

Default constructor. Creates instance of the class.

Action ( Id id )

Creates instance of the class with properties initialized with specified parameters.

Action ( Id id, Return returnType, When when, Step step, Condition condition )

Creates instance of the class with properties initialized with specified parameters.

Action ( Id id, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )

Creates instance of the class with properties initialized with specified parameters.

Action ( Return returnType, When when, Step step, Condition condition )

Creates instance of the class with properties initialized with specified parameters.

Action ( Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )

Creates instance of the class with properties initialized with specified parameters.

Описание методов

Action() защищенный Метод

Default constructor. Creates instance of the class.
protected Action ( )

Action() защищенный Метод

Creates instance of the class with properties initialized with specified parameters.
protected Action ( Id id )
id Id The explicit to be associated with instance.

Action() защищенный Метод

Creates instance of the class with properties initialized with specified parameters.
protected Action ( Id id, Return returnType, When when, Step step, Condition condition )
id Id The explicit to be associated with instance.
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .

Action() защищенный Метод

Creates instance of the class with properties initialized with specified parameters.
protected Action ( Id id, Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )
id Id The explicit to be associated with instance.
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .
sequence WixSharp.Sequence The MSI sequence the action belongs to.

Action() защищенный Метод

Creates instance of the class with properties initialized with specified parameters.
protected Action ( Return returnType, When when, Step step, Condition condition )
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .

Action() защищенный Метод

Creates instance of the class with properties initialized with specified parameters.
protected Action ( Return returnType, When when, Step step, Condition condition, WixSharp.Sequence sequence )
returnType Return The return type of the action.
when When the action should be executed with respect to the parameter.
step Step the action should be executed before/after during the installation.
condition Condition The launch condition for the .
sequence WixSharp.Sequence The MSI sequence the action belongs to.

ToString() публичный Метод

Returns a System.String that represents this instance.
public ToString ( ) : string
Результат string

Описание свойств

Condition публичное свойство

Defines the launch Condition, which is to be checked during the installation to determine if the actions should be executed.
public Condition,WixSharp Condition
Результат Condition

Execute публичное свойство

Defines Execute the action associated with.
public Execute Execute
Результат Execute

Impersonate публичное свойство

This attribute specifies whether the Windows Installer, which executes as LocalSystem, should impersonate the user context of the installing user when executing this custom action. Typically the value should be true, except when the custom action needs elevated privileges to apply changes to the machine.
public bool? Impersonate
Результат bool?

Return публичное свойство

Defines Return type of the action.
public Return Return
Результат Return

Sequence публичное свойство

Defines Sequence the action belongs to.
public Sequence,WixSharp Sequence
Результат WixSharp.Sequence

SequenceNumber публичное свойство

The sequence number for this action. Mutually exclusive with Before, After, and OnExit of When field.
public int? SequenceNumber
Результат int?

Step публичное свойство

Defines at what Step the action should be executed during the installation.
public Step,WixSharp Step
Результат Step

When публичное свойство

Defines order When the action should be executed with respect to the action Step.
public When When
Результат When

count защищенное статическое свойство

Global counter which is used as suffix for the automatically generated action name. This counter is used by Wix# engine to avoid naming collision and indicate CustomActions declaration order.
protected static int count
Результат int