AttachmentUIManagerExtensionsCreateGetFileContentFromCardAsyncFunc - метод
Пространство имён: Tessa.UI.Cards.ForumsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public static ValueTask CreateGetFileContentFromCardAsyncFunc(
this IAttachmentManager _,
ItemModel itemModel,
ICardModel cardModel,
IAdvancedCardDialogManager advancedCardDialogManager,
ICardStreamClientRepository cardStreamClientRepository,
CreateDialogFormFuncAsync createDialogFormFuncAsync,
Guid? satelliteId = null,
CancellationToken cancellationToken = default
)
<ExtensionAttribute>
Public Shared Function CreateGetFileContentFromCardAsyncFunc (
_ As IAttachmentManager,
itemModel As ItemModel,
cardModel As ICardModel,
advancedCardDialogManager As IAdvancedCardDialogManager,
cardStreamClientRepository As ICardStreamClientRepository,
createDialogFormFuncAsync As CreateDialogFormFuncAsync,
Optional satelliteId As Guid? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
[ExtensionAttribute]
static ValueTask CreateGetFileContentFromCardAsyncFunc(
IAttachmentManager^ _,
ItemModel^ itemModel,
ICardModel^ cardModel,
IAdvancedCardDialogManager^ advancedCardDialogManager,
ICardStreamClientRepository^ cardStreamClientRepository,
CreateDialogFormFuncAsync^ createDialogFormFuncAsync,
Nullable<Guid> satelliteId = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
[<ExtensionAttribute>]
static member CreateGetFileContentFromCardAsyncFunc :
_ : IAttachmentManager *
itemModel : ItemModel *
cardModel : ICardModel *
advancedCardDialogManager : IAdvancedCardDialogManager *
cardStreamClientRepository : ICardStreamClientRepository *
createDialogFormFuncAsync : CreateDialogFormFuncAsync *
?satelliteId : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _satelliteId = defaultArg satelliteId null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- _ IAttachmentManager
-
- itemModel ItemModel
-
- cardModel ICardModel
-
- advancedCardDialogManager IAdvancedCardDialogManager
-
- cardStreamClientRepository ICardStreamClientRepository
-
- createDialogFormFuncAsync CreateDialogFormFuncAsync
-
- satelliteId NullableGuid (Optional)
-
- cancellationToken CancellationToken (Optional)
-
ValueTaskВ Visual Basic и C# этот метод можно вызывать как метод экземпляра для любого объекта типа
IAttachmentManager. При вызове метода для экземпляра следует опускать первый параметр. Дополнительные сведения см. в разделе
Методы расширения (Visual Basic) или
Методы расширения (Руководство по программированию в C#).