SettingsUnitEditorWebProxyGetUnitRecordAsync - метод
Retrieves the settings unit record available for current session with specified name.
Пространство имён: Tessa.SettingsUnitsСборка: Tessa (в Tessa.dll) Версия: 4.2.2+a8f0dd3c063817b2e3f05a923303d808e447c338
public Task<SettingsUnitRecord> GetUnitRecordAsync(
string unitName,
string? fragmentName,
bool defaults = false,
CancellationToken cancellationToken = default
)
Public Function GetUnitRecordAsync (
unitName As String,
fragmentName As String,
Optional defaults As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of SettingsUnitRecord)
public:
Task<SettingsUnitRecord^>^ GetUnitRecordAsync(
String^ unitName,
String^ fragmentName,
bool defaults = false,
CancellationToken cancellationToken = CancellationToken()
)
member GetUnitRecordAsync :
unitName : string *
fragmentName : string *
?defaults : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _defaults = defaultArg defaults false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<SettingsUnitRecord>
- unitName String
- The unique settings unit name.
- fragmentName String
- The unique settings fragment name within the settings unit if specified.
- defaults Boolean (Optional)
- Indicates that the retrieved settings unit record must setup to default values.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskSettingsUnitRecord
Object that describes the settings unit record.