SettingsUnitPluginBase - класс

Represents a plugin that manages the lifecycle, validation, and transformation of settings data.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
public abstract class SettingsUnitPluginBase : ISettingsUnitPlugin
Inheritance
Object    SettingsUnitPluginBase
Derived
Implements
ISettingsUnitPlugin

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

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

Свойства

ID Unique identifier of the plugin.

Методы

AfterGetAsync A lifecycle hook invoked after the settings unit record is loaded from storage or created via TryGetDefaultDataAsync(SettingsUnitKey, CancellationToken), but before it is returned.
AfterRemoveAsync A lifecycle hook invoked after the settings unit has been successfully removed.
AfterStoreAsync A lifecycle hook invoked after the settings unit record has been successfully persisted.
BeforeGetAsync A lifecycle hook invoked before the settings unit record is loaded from storage.
BeforeRemoveAsync A lifecycle hook invoked before the settings unit record is removed.
BeforeStoreAsync A lifecycle hook invoked before the settings unit record is persisted.
CheckFragmentsSupport Determines whether the plugin supports fragment processing for the specified settings unit with identifier unitID.
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 identifiers by filtering or transforming the provided fragment identifiers based on current context and availability.
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetSchemeVersion Retrieves the current schema version of the settings data managed by this plugin for the specified settings unit key.
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MergePartialDataAsync 
ToStringReturns a string that represents the current object.
(Унаследован от Object)
TransformForEditorAsync 
TransformForUsageAsync A lifecycle hook invoked after a settings unit is loaded for use, typically from cache. Intended for populating transient or context-specific data that must not be cached or stored.
TryGetDefaultDataAsync Creates a new data storage object initialized with default values for the specified settings unit.
TryGetDescriptorOverridesAsync Provides descriptor overrides for the specified settings unit.
UpgradeDataAsync Upgrades the structure of the settings data to be compatible with the current scheme version returned by GetSchemeVersion(SettingsUnitKey).
ValidateForStoreAsync A lifecycle hook invoked to validate the settings unit data before it is stored.

См. также