SettingsUnitDescriptor - класс

Descriptor for settings unit created programmatically.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public sealed class SettingsUnitDescriptor : StorageSerializable, 
	IEquatable<SettingsUnitDescriptor>, IRegistryItem<Guid>, INamedObject, 
	INamedItem
Inheritance
Object    StorageSerializable    SettingsUnitDescriptor
Implements
IEquatableSettingsUnitDescriptor, INamedItem, INamedObject, IRegistryItemGuid

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

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

Свойства

Caption Localizable caption of the settings unit for display. Must not be equal to an empty string or a string consisting only of Unicode whitespace characters.
Category Path to the category where the settings unit is located. The value must satisfy the CategoryPattern pattern.
The "/" symbol is used to separate categories:
  • Categorycategory
  • Subcategorycategory/subcategory
Description Localizable description of the settings unit for display. Can be if no description is provided.
GroupID Group unique identifier to check access permissions.
ID Unique identifier of the settings unit.
Name Unique name of the settings unit. The value must satisfy the NamePattern pattern.
Order Sequential number for displaying the settings unit within the category.

Методы

DeserializeВыполняет десериализацию полей объекта из заданного хранилища.
(Унаследован от StorageSerializable)
DeserializeAndGetCoreВыполняет десериализацию полей объекта из заданного хранилища.
(Унаследован от StorageSerializable)
DeserializeCoreВыполняет десериализацию полей объекта из заданного хранилища.
(Переопределяет StorageSerializableDeserializeCore(DictionaryString, Object))
Equals(Object)Determines whether the specified object is equal to the current object.
(Переопределяет ObjectEquals(Object))
Equals(SettingsUnitDescriptor)Indicates whether the current object is equal to another object of the same type.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Переопределяет ObjectGetHashCode)
GetName Возвращает имя объекта.
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
SerializeВыполняет сериализацию полей объекта в заданное хранилище.
(Унаследован от StorageSerializable)
SerializeCoreВыполняет сериализацию полей объекта в заданное хранилище.
(Переопределяет StorageSerializableSerializeCore(DictionaryString, Object))
ToStringReturns a string that represents the current object.
(Переопределяет ObjectToString)

Операторы

(SettingsUnitDescriptor to Guid) Returns the settings unit identifier from the descriptor.
(SettingsUnitDescriptor to String) Returns the settings unit name from the descriptor.

См. также