Interface IViewpointGroup
Группа представлений.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IViewpointGroup : IBaseGroup, ILocateableApiObject, IAbleToHaveChangeableName, IAbleToHaveName, IAbleToHaveDescription, IConceptAppointer, IDeleteableApiObject, IViewpointGroupOwner, IBaseGroupOwner, IGroupWithSecurity, IStructureItemWithSecurity, IPropertyOwnerScope, IFormulaAppointer, IAbleToHaveId, IStructureItemWithTableSettings, IAbleToHaveClassId, IAbleToHaveIcon, IStructureItem, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
ParentCatalog
Возвращает каталог, в котором находится данная группа.
Declaration
IViewpointCatalog ParentCatalog { get; }
Property Value
| Type | Description |
|---|---|
| IViewpointCatalog |
ParentGroup
Возвращает группу, в которой находится данная группа.
Declaration
IViewpointGroup ParentGroup { get; }
Property Value
| Type | Description |
|---|---|
| IViewpointGroup |
Viewpoints
Возвращает коллекцию представлений.
Declaration
IApiReadOnlyCollection<IViewpoint> Viewpoints { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IViewpoint> |
Methods
CanMoveTo(IViewpointGroupOwner)
Определяет, можно ли переместить группу в другую группу.
Declaration
bool CanMoveTo(IViewpointGroupOwner groupOwner)
Parameters
| Type | Name | Description |
|---|---|---|
| IViewpointGroupOwner | groupOwner | Группа или каталог, в которую перемещается данная группа. |
Returns
| Type | Description |
|---|---|
| bool |
|
CopyTo(IViewpointGroupOwner, string, ClassificationCopyingOptions)
Копирует группу в другую группу или каталог.
Declaration
IViewpointGroup CopyTo(IViewpointGroupOwner groupOwner, string nameOfTheCopy, ClassificationCopyingOptions options = ClassificationCopyingOptions.None)
Parameters
| Type | Name | Description |
|---|---|---|
| IViewpointGroupOwner | groupOwner | Группа или каталог, в которую копируется данная группа. |
| string | nameOfTheCopy | Имя копии. |
| ClassificationCopyingOptions | options | Опции копирования. |
Returns
| Type | Description |
|---|---|
| IViewpointGroup | Копия группы. |
CreateViewpoint(string, Guid?, ObjectStorageType, Protection)
Создает представление.
Declaration
IViewpoint CreateViewpoint(string name, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent, Protection protection = Protection.None)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя. |
| Guid? | id | Уникальный идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
| Protection | protection | Маркер защиты. |
Returns
| Type | Description |
|---|---|
| IViewpoint | Созданное представление. |
CreateViewpointGroup(string, int?, Guid?, ObjectStorageType)
Создает группу.
Declaration
IViewpointGroup CreateViewpointGroup(string name, int? iconCode = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя группы. |
| int? | iconCode | Код иконки. |
| Guid? | id | Уникальный идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IViewpointGroup | Созданная группа. |
MoveTo(IViewpointGroupOwner)
Перемещает группу в другую группу или каталог.
Declaration
void MoveTo(IViewpointGroupOwner groupOwner)
Parameters
| Type | Name | Description |
|---|---|---|
| IViewpointGroupOwner | groupOwner | Группа или каталог, в которую перемещается данная группа. |