ApplicationPackageFile(String, String, Guid, Int64, Byte, NullableGuid, NullableGuid, NullableCardFileSourceType, PackageFileState, Boolean) - конструктор |
Пространство имён:
Tessa.Applications.Package
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: SystemString
Имя файла
- fullName
- Тип: SystemString
Полное имя файла
- id
- Тип: SystemGuid
Идентификатор файла
- size
- Тип: SystemInt64
Размер
- hash (Optional)
- Тип: SystemByte
Контрольная сумма
- applicationId (Optional)
- Тип: SystemNullableGuid
Идентификатор приложения
- versionId (Optional)
- Тип: SystemNullableGuid
Идентификатор версии
- sourceTypeId (Optional)
- Тип: SystemNullableCardFileSourceType
Идентификатор типа источника
- state (Optional)
- Тип: Tessa.Applications.PackagePackageFileState
Состояние файла - isLocal (Optional)
- Тип: SystemBoolean
Значение , если файл доступен локально, иначе - .
См. также