Interface ITechObjectTypeAttributeEnumeration
Представляет перечень атрибутов типа объекта.
Inherited Members
Namespace: Ascon.Vertical.Core
Assembly: Ascon.Vertical.Core.dll
Syntax
public interface ITechObjectTypeAttributeEnumeration : ITechEnumeration<ITechObjectTypeAttribute>, IEnumerable<ITechObjectTypeAttribute>, IEnumerable
Methods
Contains(ITechAttributeType)
Проверяет наличие элемента с типом атрибута в перечне.
Declaration
bool Contains(ITechAttributeType type)
Parameters
| Type | Name | Description |
|---|---|---|
| ITechAttributeType | type | Тип элемента. |
Returns
| Type | Description |
|---|---|
| bool |
|
Contains(string)
Проверяет наличие элемента с указанным наименованием типа атрибута в перечне.
Declaration
bool Contains(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Наименование элемента. |
Returns
| Type | Description |
|---|---|
| bool |
|
GetByName(string)
Возвращает элемент по наименованию.
Declaration
ITechObjectTypeAttribute? GetByName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Наименование элемента. |
Returns
| Type | Description |
|---|---|
| ITechObjectTypeAttribute | Элемент перечня с указанным наименованием или |
GetByType(ITechAttributeType)
Возвращает элемент по типу атрибута.
Declaration
ITechObjectTypeAttribute? GetByType(ITechAttributeType type)
Parameters
| Type | Name | Description |
|---|---|---|
| ITechAttributeType | type | Тип элемента. |
Returns
| Type | Description |
|---|---|
| ITechObjectTypeAttribute | Элемент перечня с указанным наименованием или |