ApplicationPackageFile(String, String, Guid, Int64, Byte, NullableGuid, NullableGuid, NullableCardFileSourceType, PackageFileState, Boolean) - конструктор
Создаёт экземпляр класса.
Пространство имён: Tessa.Applications.PackageСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ApplicationPackageFile(
string name,
string fullName,
Guid id,
long size,
byte[]? hash = null,
Guid? applicationId = null,
Guid? versionId = null,
CardFileSourceType? sourceTypeId = null,
PackageFileState state = PackageFileState.Unchanged,
bool isLocal = false
)
Public Sub New (
name As String,
fullName As String,
id As Guid,
size As Long,
Optional hash As Byte() = Nothing,
Optional applicationId As Guid? = Nothing,
Optional versionId As Guid? = Nothing,
Optional sourceTypeId As CardFileSourceType? = Nothing,
Optional state As PackageFileState = PackageFileState.Unchanged,
Optional isLocal As Boolean = false
)
public:
ApplicationPackageFile(
String^ name,
String^ fullName,
Guid id,
long long size,
array<unsigned char>^ hash = nullptr,
Nullable<Guid> applicationId = nullptr,
Nullable<Guid> versionId = nullptr,
Nullable<CardFileSourceType> sourceTypeId = nullptr,
PackageFileState state = PackageFileState::Unchanged,
bool isLocal = false
)
new :
name : string *
fullName : string *
id : Guid *
size : int64 *
?hash : byte[] *
?applicationId : Nullable<Guid> *
?versionId : Nullable<Guid> *
?sourceTypeId : Nullable<CardFileSourceType> *
?state : PackageFileState *
?isLocal : bool
(* Defaults:
let _hash = defaultArg hash null
let _applicationId = defaultArg applicationId null
let _versionId = defaultArg versionId null
let _sourceTypeId = defaultArg sourceTypeId null
let _state = defaultArg state PackageFileState.Unchanged
let _isLocal = defaultArg isLocal false
*)
-> ApplicationPackageFile
Параметры
- name String
-
Имя файла
- fullName String
-
Полное имя файла
- id Guid
-
Идентификатор файла
- size Int64
-
Размер
- hash Byte (Optional)
-
Контрольная сумма
- applicationId NullableGuid (Optional)
-
Идентификатор приложения
- versionId NullableGuid (Optional)
-
Идентификатор версии
- sourceTypeId NullableCardFileSourceType (Optional)
-
Идентификатор типа источника
- state PackageFileState (Optional)
- Состояние файла.
- isLocal Boolean (Optional)
- Значение , если файл доступен локально, иначе - .