AttachmentUIManagerExtensionsGetFileContentAsync - метод
Пространство имён: Tessa.UI.Cards.ForumsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public static Task<(List<string> filePaths, IValidationResultBuilder validationResult)> GetFileContentAsync(
this IAttachmentManager self,
IFileCollection fileCollection,
ICardStreamClientRepository cardStreamClientRepository,
ICardModel cardModel,
Guid? cardID,
Guid fileId,
CancellationToken cancellationToken = default
)
<ExtensionAttribute>
Public Shared Function GetFileContentAsync (
self As IAttachmentManager,
fileCollection As IFileCollection,
cardStreamClientRepository As ICardStreamClientRepository,
cardModel As ICardModel,
cardID As Guid?,
fileId As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of (filePaths As List(Of String), validationResult As IValidationResultBuilder))
public:
[ExtensionAttribute]
static Task<ValueTuple<List<String^>^, IValidationResultBuilder^>>^ GetFileContentAsync(
IAttachmentManager^ self,
IFileCollection^ fileCollection,
ICardStreamClientRepository^ cardStreamClientRepository,
ICardModel^ cardModel,
Nullable<Guid> cardID,
Guid fileId,
CancellationToken cancellationToken = CancellationToken()
)
[<ExtensionAttribute>]
static member GetFileContentAsync :
self : IAttachmentManager *
fileCollection : IFileCollection *
cardStreamClientRepository : ICardStreamClientRepository *
cardModel : ICardModel *
cardID : Nullable<Guid> *
fileId : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<List<string>, IValidationResultBuilder>>
- self IAttachmentManager
-
- fileCollection IFileCollection
-
- cardStreamClientRepository ICardStreamClientRepository
-
- cardModel ICardModel
-
- cardID NullableGuid
-
- fileId Guid
-
- cancellationToken CancellationToken (Optional)
-
TaskValueTupleListString,
IValidationResultBuilderВ Visual Basic и C# этот метод можно вызывать как метод экземпляра для любого объекта типа
IAttachmentManager. При вызове метода для экземпляра следует опускать первый параметр. Дополнительные сведения см. в разделе
Методы расширения (Visual Basic) или
Методы расширения (Руководство по программированию в C#).