C# 클래스 WixSharp.Feature

Defines WiX Feature.

All installable WiX components belong to one or more features. By default, if no Features are defined by user, Wix# creates "Complete" feature, which contains all installable components.

상속: WixEntity
파일 보기 프로젝트 열기: Eun/WixSharp 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllowChange bool
Children List
Condition FeatureCondition
ConfigurableDir string
Description string
IsEnabled bool

공개 메소드들

메소드 설명
Add ( ) : Feature

Adds the specified nested features.

Feature ( ) : System.Collections.Generic

Initializes a new instance of the Feature class.

Feature ( string name ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

Feature ( string name, bool isEnabled ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

Feature ( string name, bool isEnabled, bool allowChange ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

Feature ( string name, string description ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

Feature ( string name, string description, bool isEnabled ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

Feature ( string name, string description, bool isEnabled, bool allowChange ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

Feature ( string name, string description, bool isEnabled, bool allowChange, string configurableDir ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

Feature ( string name, string description, string configurableDir ) : System.Collections.Generic

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.

ToString ( ) : string

Returns a System.String that represents this instance.

비공개 메소드들

메소드 설명
ToXml ( ) : System.Xml.Linq.XElement

메소드 상세

Add() 공개 메소드

Adds the specified nested features.
public Add ( ) : Feature
리턴 Feature

Feature() 공개 메소드

Initializes a new instance of the Feature class.
public Feature ( ) : System.Collections.Generic
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name ) : System.Collections.Generic
name string The feature name.
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name, bool isEnabled ) : System.Collections.Generic
name string The feature name.
isEnabled bool Defines if the is enabled at startup. /// Use this parameter if the feature should be disabled by default and only enabled after /// processing the Condition Table or user input.
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name, bool isEnabled, bool allowChange ) : System.Collections.Generic
name string The feature name.
isEnabled bool Defines if the is enabled at startup. /// Use this parameter if the feature should be disabled by default and only enabled after /// processing the Condition Table or user input.
allowChange bool Defines if setup allows the user interface to display an option to change the state to Absent.
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name, string description ) : System.Collections.Generic
name string The feature name.
description string The feature description.
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name, string description, bool isEnabled ) : System.Collections.Generic
name string The feature name.
description string The feature description.
isEnabled bool Defines if the is enabled at startup. /// Use this parameter if the feature should be disabled by default and only enabled after /// processing the Condition Table or user input.
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name, string description, bool isEnabled, bool allowChange ) : System.Collections.Generic
name string The feature name.
description string The feature description.
isEnabled bool Defines if the is enabled at startup. /// Use this parameter if the feature should be disabled by default and only enabled after /// processing the Condition Table or user input.
allowChange bool Defines if setup allows the user interface to display an option to change the state to Absent.
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name, string description, bool isEnabled, bool allowChange, string configurableDir ) : System.Collections.Generic
name string The feature name.
description string The feature description.
isEnabled bool Defines if the is enabled at startup. /// Use this parameter if the feature should be disabled by default and only enabled after /// processing the Condition Table or user input.
allowChange bool Defines if setup allows the user interface to display an option to change the state to Absent.
configurableDir string The default path of the feature ConfigurableDirectory. If set to non-empty string, MSI runtime will place /// Configure button for the feature in the Feature Selection dialog.
리턴 System.Collections.Generic

Feature() 공개 메소드

Initializes a new instance of the Feature class with properties/fields initialized with specified parameters.
public Feature ( string name, string description, string configurableDir ) : System.Collections.Generic
name string The feature name.
description string The feature description.
configurableDir string The default path of the feature ConfigurableDirectory. If set to non-empty string, MSI runtime will place /// Configure button for the feature in the Feature Selection dialog.
리턴 System.Collections.Generic

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string

프로퍼티 상세

AllowChange 공개적으로 프로퍼티

Defines if setup allows the user interface to display an option to change the Feature state to Absent.

This property is translated into WiX Feature.Absent attribute.

The default value is true.
public bool AllowChange
리턴 bool

Children 공개적으로 프로퍼티

Child Feature. To be added in the nested Features scenarios.
public List Children
리턴 List

Condition 공개적으로 프로퍼티

Defines the installation Condition, which is to be checked during the installation to determine if the feature should be installed on the target system.
public FeatureCondition,WixSharp Condition
리턴 FeatureCondition

ConfigurableDir 공개적으로 프로퍼티

The default path of the feature ConfigurableDirectory. If set to non-empty string, MSI runtime will place Configure button for the feature in the Feature Selection dialog.
public string ConfigurableDir
리턴 string

Description 공개적으로 프로퍼티

The feature description.
public string Description
리턴 string

IsEnabled 공개적으로 프로퍼티

Defines if the Feature is enabled at startup. Use this parameter if the feature should be disabled by default and only enabled after processing the Condition Table or user input.

The default value is true.
public bool IsEnabled
리턴 bool