FileControlHelper.CreateFileTemplateCardActionAsync - метод |
Пространство имён:
Tessa.UI.Files.Controls
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксисpublic static Task CreateFileTemplateCardActionAsync(
Guid templateID,
string fileName,
ICardStreamClientRepository cardStreamRepository,
IFileControl control,
ICardMetadata cardMetadata,
ISession session,
IFile fileToReplace = null,
CancellationToken cancellationToken = default
)
Public Shared Function CreateFileTemplateCardActionAsync (
templateID As Guid,
fileName As String,
cardStreamRepository As ICardStreamClientRepository,
control As IFileControl,
cardMetadata As ICardMetadata,
session As ISession,
Optional fileToReplace As IFile = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
static Task^ CreateFileTemplateCardActionAsync(
Guid templateID,
String^ fileName,
ICardStreamClientRepository^ cardStreamRepository,
IFileControl^ control,
ICardMetadata^ cardMetadata,
ISession^ session,
IFile^ fileToReplace = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
static member CreateFileTemplateCardActionAsync :
templateID : Guid *
fileName : string *
cardStreamRepository : ICardStreamClientRepository *
control : IFileControl *
cardMetadata : ICardMetadata *
session : ISession *
?fileToReplace : IFile *
?cancellationToken : CancellationToken
(* Defaults:
let _fileToReplace = defaultArg fileToReplace null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
Параметры
- templateID
- Тип: System.Guid
- fileName
- Тип: System.String
- cardStreamRepository
- Тип: Tessa.Cards.ICardStreamClientRepository
- control
- Тип: Tessa.UI.Files.IFileControl
- cardMetadata
- Тип: Tessa.Cards.ICardMetadata
- session
- Тип: Tessa.Platform.Runtime.ISession
- fileToReplace (Optional)
- Тип: Tessa.Files.IFile
- cancellationToken (Optional)
- Тип: System.Threading.CancellationToken
Возвращаемое значение
Тип:
Task
См. также