Interface IElementFactory
Конструктор компонентов.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IElementFactory : IDeleteableApiObject, ICodeableApiObject, IAbsoluteCodeableApiObject, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
ElementFactoryTables
Возвращает коллекцию таблиц конструктора компонентов.
Declaration
IApiReadOnlyCollection<IElementFactoryTable> ElementFactoryTables { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IElementFactoryTable> |
Group
Возвращает группу конструктора компонентов.
Declaration
IGroup Group { get; }
Property Value
| Type | Description |
|---|---|
| IGroup |
LocationContractPropertySources
Возвращает коллекцию источников свойств в контракте, входящих в локейшн изделия конструктора компонентов.
Declaration
IApiReadOnlyCollection<IContractPropertySource> LocationContractPropertySources { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IContractPropertySource> |
TemplateViewpointTableDefinitions
Возвращает коллекцию доступных определений представлений основной таблицы конструктора компонентов.
Declaration
IApiReadOnlyCollection<IViewpointTableDefinition> TemplateViewpointTableDefinitions { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IViewpointTableDefinition> |
Methods
AddLocationContractPropertySource(IContractPropertySource)
Добавляет источник свойств в контракте в список, входящих в локейшн изделия конструктора компонентов.
Declaration
void AddLocationContractPropertySource(IContractPropertySource cps)
Parameters
| Type | Name | Description |
|---|---|---|
| IContractPropertySource | cps | Контрактный источник свойства. |
CreateElementFactoryTable(string)
Создает таблицу конструктора компонентов.
Declaration
IElementFactoryTable CreateElementFactoryTable(string nameTable)
Parameters
| Type | Name | Description |
|---|---|---|
| string | nameTable | Название таблицы. |
Returns
| Type | Description |
|---|---|
| IElementFactoryTable | Созданная таблица конструктора компонентов. |
CreateTemplateViewpointTableDefinition(Guid?)
Создает определение представления таблицы.
Declaration
IViewpointTableDefinition CreateTemplateViewpointTableDefinition(Guid? id = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid? | id |
Returns
| Type | Description |
|---|---|
| IViewpointTableDefinition | Созданное определение представления таблицы. |
RemoveLocationContractPropertySource(IContractPropertySource)
Удаляет источник свойств в контракте из списка, входящих в локейшн изделия конструктора компонентов.
Declaration
void RemoveLocationContractPropertySource(IContractPropertySource cps)
Parameters
| Type | Name | Description |
|---|---|---|
| IContractPropertySource | cps | Контрактный источник свойства. |