Class TechConstant
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Inherited Members
Namespace: Ascon.Vertical.Core.Model
Assembly: Ascon.Vertical.Core.dll
Syntax
public class TechConstant : ITechConstant, ITechModelElement
Constructors
TechConstant(TechConstantDto, ITechModel)
Создаёт экземпляр класса TechConstant.
Declaration
public TechConstant(TechConstantDto data, ITechModel model)
Parameters
| Type | Name | Description |
|---|---|---|
| TechConstantDto | data | Описание константы. |
| ITechModel | model | Модель, которой принадлежит константа. |
Properties
Description
Возвращает описание константы.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Возвращает отображаемое имя константы.
Declaration
public string DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| string |
GroupName
Возвращает наименование группы константы.
Declaration
public string GroupName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Model
Возвращает модель, которой принадлежит элемент.
Declaration
public ITechModel Model { get; }
Property Value
| Type | Description |
|---|---|
| ITechModel |
Name
Возвращает наименование константы.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Возвращает значение константы.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ToDto()
Возвращает описание константы.
Declaration
public TechConstantDto ToDto()
Returns
| Type | Description |
|---|---|
| TechConstantDto | Сформированное описание. |