ApplicationPackageFile(String, String, Guid, Int64, Byte, NullableGuid, NullableGuid, NullableCardFileSourceType, PackageFileState, Boolean) - конструктор
Пространство имён: Tessa.Applications.PackageСборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
public ApplicationPackageFile(
[NotNullAttribute] string name,
[NotNullAttribute] string fullName,
Guid id,
long size,
[CanBeNullAttribute] byte[] hash = null,
Guid? applicationId = null,
Guid? versionId = null,
CardFileSourceType? sourceTypeId = null,
PackageFileState state = PackageFileState.Unchanged,
bool isLocal = false
)
Public Sub New (
<NotNullAttribute> name As String,
<NotNullAttribute> fullName As String,
id As Guid,
size As Long,
<CanBeNullAttribute> 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(
[NotNullAttribute] String^ name,
[NotNullAttribute] String^ fullName,
Guid id,
long long size,
[CanBeNullAttribute] 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 :
[<NotNullAttribute>] name : string *
[<NotNullAttribute>] fullName : string *
id : Guid *
size : int64 *
[<CanBeNullAttribute>] ?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)
- Значение , если файл доступен локально, иначе - .