SettingsUnitPluginBase - класс

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

Definition

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

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

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

Свойства

ID Unique identifier of the plugin.

Методы

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 
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetSchemeVersion Retrieves current schema version of the settings data managed by this plugin.
GetTypeGets the Type of the current instance.
(Унаследован от Object)
IsSupportFragments Returns an indication that the plugin supports fragment processing for the unit with identifier unitID.
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
MergePartialDataAsync 
OnRemovedAsync A lifecycle hook invoked after a settings unit has been successfully removed from persistent storage.
OnSavedAsync A lifecycle hook invoked after the settings data has been successfully persisted.
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.
PrepareForClientAsync 
PrepareForPersistentAsync A lifecycle hook invoked before the settings data is persisted to storage.
PrepareForRemoveAsync A lifecycle hook invoked before a settings unit record is removed from persistent storage.
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.
ToStringReturns a string that represents the current object.
(Унаследован от Object)
TryGetDefaultAsync Creates a new [!:SettingsUnitData] object initialized with default values for the specified settings unit.
UpgradeAsync Upgrades the structure of the settings data to be compatible with the current [!:SchemeVersion].
ValidateForPersistentAsync A lifecycle hook invoked for validation the settings unit data before it is persisted.

См. также