StampingContext - конструктор
Пространство имён: Tessa.StampingСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
public StampingContext(
IList<StampParametersServer> parameters,
IList<int> pagesToStamp,
string fileName,
Func<CancellationToken, ValueTask<Stream>> getFileContentAsync,
long fileContentLength,
Func<CancellationToken, ValueTask<(Stream , long )>> getOutputContentAsync,
CancellationToken cancellationToken = default
)
Public Sub New (
parameters As IList(Of StampParametersServer),
pagesToStamp As IList(Of Integer),
fileName As String,
getFileContentAsync As Func(Of CancellationToken, ValueTask(Of Stream)),
fileContentLength As Long,
getOutputContentAsync As Func(Of CancellationToken, ValueTask(Of ( As Stream, As Long))),
Optional cancellationToken As CancellationToken = Nothing
)
public:
StampingContext(
IList<StampParametersServer^>^ parameters,
IList<int>^ pagesToStamp,
String^ fileName,
Func<CancellationToken, ValueTask<Stream^>>^ getFileContentAsync,
long long fileContentLength,
Func<CancellationToken, ValueTask<ValueTuple<Stream^, long long>>>^ getOutputContentAsync,
CancellationToken cancellationToken = CancellationToken()
)
new :
parameters : IList<StampParametersServer> *
pagesToStamp : IList<int> *
fileName : string *
getFileContentAsync : Func<CancellationToken, ValueTask<Stream>> *
fileContentLength : int64 *
getOutputContentAsync : Func<CancellationToken, ValueTask<ValueTuple<Stream, int64>>> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> StampingContext
Параметры
- parameters IListStampParametersServer
-
- pagesToStamp IListInt32
-
- fileName String
-
- getFileContentAsync FuncCancellationToken, ValueTaskStream
-
- fileContentLength Int64
-
- getOutputContentAsync FuncCancellationToken, ValueTaskValueTupleStream, Int64
-
- cancellationToken CancellationToken (Optional)
-