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
파일 보기 프로젝트 열기: Eun/WixSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Condition Condition
Execute Execute
Impersonate bool?
Return Return
Sequence WixSharp.Sequence
SequenceNumber int?
Step Step
When When

보호된 프로퍼티들

프로퍼티 타입 설명
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