DocumentNumberDirectorFormatSequenceNameAsync - метод |
Пространство имён:
Tessa.Extensions.Default.Shared.Numbers
Сборка:
Tessa.Extensions.Default.Shared (в Tessa.Extensions.Default.Shared.dll) Версия: 3.5.0.19
Синтаксис protected override Task<string> FormatSequenceNameAsync(
INumberContext context,
NumberTypeDescriptor numberType,
string formatString = null,
CancellationToken cancellationToken = default
)
Protected Overrides Function FormatSequenceNameAsync (
context As INumberContext,
numberType As NumberTypeDescriptor,
Optional formatString As String = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of String)
protected:
virtual Task<String^>^ FormatSequenceNameAsync(
INumberContext^ context,
NumberTypeDescriptor^ numberType,
String^ formatString = nullptr,
CancellationToken cancellationToken = CancellationToken()
) override
abstract FormatSequenceNameAsync :
context : INumberContext *
numberType : NumberTypeDescriptor *
?formatString : string *
?cancellationToken : CancellationToken
(* Defaults:
let _formatString = defaultArg formatString null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<string>
override FormatSequenceNameAsync :
context : INumberContext *
numberType : NumberTypeDescriptor *
?formatString : string *
?cancellationToken : CancellationToken
(* Defaults:
let _formatString = defaultArg formatString null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<string>
Параметры
- context
- Тип: Tessa.Cards.NumbersINumberContext
- numberType
- Тип: Tessa.Cards.NumbersNumberTypeDescriptor
- formatString (Optional)
- Тип: SystemString
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskStringСм. также