C# Класс WixSharp.File

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

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

Свойство Тип Описание
Associations WixSharp.FileAssociation[]
Condition Condition
DriverInstaller DriverInstaller
Feature Feature
IISVirtualDirs WixSharp.IISVirtualDir[]
Permissions FilePermission[]
ServiceInstaller ServiceInstaller
Shortcuts WixSharp.FileShortcut[]

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

Метод Описание
AddItems ( WixEntity items ) : void
File ( ) : System

Initializes a new instance of the File class.

File ( Feature feature, string sourcePath ) : System

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

File ( Id id, Feature feature, string sourcePath ) : System

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

File ( Id id, string sourcePath ) : System

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

File ( string sourcePath ) : System

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

ToString ( ) : string

Returns a T:System.String that represents the File.

This property is designed to produce a friendlier string representation of the File for debugging purposes.

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

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

public AddItems ( WixEntity items ) : void
items WixEntity
Результат void

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

Initializes a new instance of the File class.
public File ( ) : System
Результат System

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

Creates instance of the class with properties initialized with specified parameters.
public File ( Feature feature, string sourcePath ) : System
feature Feature the file should be included in.
sourcePath string Relative path to the file to be taken for building the MSI.
Результат System

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

Creates instance of the class with properties initialized with specified parameters.
public File ( Id id, Feature feature, string sourcePath ) : System
id Id The explicit to be associated with instance.
feature Feature the file should be included in.
sourcePath string Relative path to the file to be taken for building the MSI.
Результат System

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

Creates instance of the class with properties initialized with specified parameters.
public File ( Id id, string sourcePath ) : System
id Id The explicit to be associated with instance.
sourcePath string Relative path to the file to be taken for building the MSI.
Результат System

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

Creates instance of the class with properties initialized with specified parameters.
public File ( string sourcePath ) : System
sourcePath string Relative path to the file to be taken for building the MSI.
Результат System

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

Returns a T:System.String that represents the File.

This property is designed to produce a friendlier string representation of the File for debugging purposes.

public ToString ( ) : string
Результат string

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

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

Collection of the FileAssociations associated with the file.
public FileAssociation[],WixSharp Associations
Результат WixSharp.FileAssociation[]

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

Defines the installation Condition, which is to be checked during the installation to determine if the file should be installed on the target system.
public Condition Condition
Результат Condition

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

The driver installer associated with the file. Set this field to the properly initialized instance of DriverInstaller if the file is a windows driver.
public DriverInstaller,WixSharp DriverInstaller
Результат DriverInstaller

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

the file belongs to.
public Feature,WixSharp Feature
Результат Feature

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

Collection of the contained IISVirtualDirs.
public IISVirtualDir[],WixSharp IISVirtualDirs
Результат WixSharp.IISVirtualDir[]

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

COllection of T:WixSharp.FilePermission to be applied to the file.
public FilePermission[] Permissions
Результат FilePermission[]

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

The service installer associated with the file. Set this field to the properly initialized instance of ServiceInstaller if the file is a windows service module.
public ServiceInstaller ServiceInstaller
Результат ServiceInstaller

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

Collection of the Shortcuts associated with the file.
public FileShortcut[],WixSharp Shortcuts
Результат WixSharp.FileShortcut[]