LicensingHelperGetLicenseTextAsync - метод
Получение текста лицензии с учётом поддерживаемых модулей.
Пространство имён: Tessa.Platform.LicensingСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public static ValueTask<string> GetLicenseTextAsync(
ILicense? license,
CultureInfo cultureInfo,
CancellationToken cancellationToken = default
)
Public Shared Function GetLicenseTextAsync (
license As ILicense,
cultureInfo As CultureInfo,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of String)
public:
static ValueTask<String^> GetLicenseTextAsync(
ILicense^ license,
CultureInfo^ cultureInfo,
CancellationToken cancellationToken = CancellationToken()
)
static member GetLicenseTextAsync :
license : ILicense *
cultureInfo : CultureInfo *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<string>
- license ILicense
Лицензия на платформу TESSA.
- cultureInfo CultureInfo
Provides information about a specific culture (called a locale for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskString
Текст лицензии с учётом поддерживаемых модулей или
, если информация по лицензии неизвестна.