AiPromptsSettingsUnitPlugin - класс

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

Definition

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

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

AiPromptsSettingsUnitPluginИнициализирует новый экземпляр класса AiPromptsSettingsUnitPlugin

Свойства

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
(Унаследован от SettingsUnitPluginBase)
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.
(Унаследован от SettingsUnitPluginBase)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MergePartialDataAsync
(Унаследован от SettingsUnitPluginBase)
OnRemovedAsync A lifecycle hook invoked after a settings unit has been successfully removed from persistent storage.
(Унаследован от SettingsUnitPluginBase)
OnSavedAsync A lifecycle hook invoked after the settings data has been successfully persisted.
(Унаследован от SettingsUnitPluginBase)
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.
(Переопределяет SettingsUnitPluginBasePrepareForCacheAsync(SettingsUnitRecord, CancellationToken))
PrepareForClientAsync
(Унаследован от SettingsUnitPluginBase)
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.
(Унаследован от SettingsUnitPluginBase)
ToStringReturns a string that represents the current object.
(Унаследован от Object)
TryGetDefaultAsync Creates a new [!:SettingsUnitData] object initialized with default values for the specified settings unit.
(Переопределяет SettingsUnitPluginBaseTryGetDefaultAsync(SettingsUnitKey, CancellationToken))
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))

См. также