AiToolsSettingsUnitPlugin - класс

Плагин для работы с инструментами ИИ.

Definition

Пространство имён: Tessa.Extensions.Platform.Server.SettingsUnits.AiTools
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public sealed class AiToolsSettingsUnitPlugin : SettingsUnitPluginBase
Inheritance
Object    SettingsUnitPluginBase    AiToolsSettingsUnitPlugin

Конструкторы

AiToolsSettingsUnitPlugin Плагин для работы с инструментами ИИ.

Свойства

ID Unique identifier of the plugin.
(Переопределяет SettingsUnitPluginBaseID)

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetActualFragmentsAsync Resolves the actual fragment names by filtering or transforming the provided fragment names based on current context and availability.
(Переопределяет SettingsUnitPluginBaseGetActualFragmentsAsync(Guid, IEnumerableString, CancellationToken))
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetSchemeVersion Retrieves current schema version of the settings data managed by this plugin.
(Унаследован от SettingsUnitPluginBase)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
IsSupportFragments Returns an indication that the plugin supports fragment processing for the unit with identifier unitID.
(Переопределяет SettingsUnitPluginBaseIsSupportFragments(Guid))
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MergePartialDataAsync A lifecycle hook invoked before persisting partially updated data, responsible for merging the provided partial data with the existing Data.

(Переопределяет SettingsUnitPluginBaseMergePartialDataAsync(SettingsUnitRecord, DictionaryString, Object, CancellationToken))
OnRemovedAsync
(Переопределяет SettingsUnitPluginBaseOnRemovedAsync(SettingsUnitRecord, CancellationToken))
OnSavedAsync A lifecycle hook invoked after the settings data has been successfully persisted.
(Переопределяет SettingsUnitPluginBaseOnSavedAsync(SettingsUnitRecord, CancellationToken))
PrepareForCacheAsync A lifecycle hook invoked after the settings data is loaded from persistent storage or created via TryGetDefaultAsync(SettingsUnitKey, CancellationToken), but before it is placed into the cache.
(Унаследован от SettingsUnitPluginBase)
PrepareForClientAsync A lifecycle hook invoked after a settings unit is loaded for use at client (UI editor), typically from cache. Intended for populating transient or context-specific data that must not be cached or persisted.
(Переопределяет SettingsUnitPluginBasePrepareForClientAsync(SettingsUnitRecord, CancellationToken))
PrepareForPersistentAsync A lifecycle hook invoked before the settings data is persisted to storage.
(Переопределяет SettingsUnitPluginBasePrepareForPersistentAsync(SettingsUnitRecord, CancellationToken))
PrepareForRemoveAsync A lifecycle hook invoked before a settings unit record is removed from persistent storage.
(Унаследован от SettingsUnitPluginBase)
PrepareForUsageAsync A lifecycle hook invoked after a settings unit is loaded for use at API, typically from cache. Intended for populating transient or context-specific data that must not be cached or persisted.
(Переопределяет SettingsUnitPluginBasePrepareForUsageAsync(SettingsUnitRecord, CancellationToken))
ToStringReturns a string that represents the current object.
(Унаследован от Object)
TryGetDefaultAsync Creates a new [!:SettingsUnitData] object initialized with default values for the specified settings unit.
(Унаследован от SettingsUnitPluginBase)
UpgradeAsync Upgrades the structure of the settings data to be compatible with the current [!:SchemeVersion].
(Унаследован от SettingsUnitPluginBase)
ValidateForPersistentAsync A lifecycle hook invoked for validation the settings unit data before it is persisted.
(Переопределяет SettingsUnitPluginBaseValidateForPersistentAsync(SettingsUnitRecord, DictionaryString, Object, Boolean, CancellationToken))

См. также