Interface IPropDefGroup
Группа описаний свойств.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IPropDefGroup : IBaseGroup, ILocateableApiObject, IAbleToHaveId, IAbleToHaveChangeableName, IAbleToHaveName, IAbleToHaveDescription, IDeleteableApiObject, IPropDefGroupOwner, IBaseGroupOwner, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
ParentGroup
Возвращает группу, в которой находится данная группа.
Declaration
IPropDefGroup ParentGroup { get; }
Property Value
| Type | Description |
|---|---|
| IPropDefGroup |
PropertyDefinitions
Возвращает определения свойств в данной папке.
Declaration
IApiReadOnlyCollection<IPropertyDefinition> PropertyDefinitions { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IPropertyDefinition> |
Methods
CanMoveTo(IPropDefGroupOwner)
Возвращает признак, может ли группа описаний свойств быть перемещена в указанного владельца групп.
Declaration
bool CanMoveTo(IPropDefGroupOwner destinationGroupOwner)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropDefGroupOwner | destinationGroupOwner | Владелец групп назначения. |
Returns
| Type | Description |
|---|---|
| bool |
|
CreateBinaryPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Binary.
Declaration
IBinaryPropertyDefinition CreateBinaryPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IBinaryPropertyDefinition | Созданное определение свойства типа Binary. |
CreateBooleanPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Boolean.
Declaration
IBooleanPropertyDefinition CreateBooleanPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IBooleanPropertyDefinition | Созданное определение свойства типа Boolean. |
CreateColorPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Color.
Declaration
IColorPropertyDefinition CreateColorPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IColorPropertyDefinition | Созданное определение свойства типа Color. |
CreateDateTimePropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа DateTime.
Declaration
IDateTimePropertyDefinition CreateDateTimePropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IDateTimePropertyDefinition | Созданное определение свойства типа DateTime. |
CreateDoublePropertyDefinition(string, string, IMeasureEntity, string, Guid?, ObjectStorageType)
Создает определение свойства типа Double.
Declaration
IDoublePropertyDefinition CreateDoublePropertyDefinition(string name, string code = null, IMeasureEntity measureEntity = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| IMeasureEntity | measureEntity | Измеряемая величина. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IDoublePropertyDefinition | Созданное определение свойства типа Double. |
CreateEnumBoolPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Перечислимое логическое с описанием.
Declaration
IEnumBoolPropertyDefinition CreateEnumBoolPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IEnumBoolPropertyDefinition | Созданное определение свойства типа Перечислимое логическое с описанием. |
CreateEnumDoublePropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Перечислимое число с плавающей запятой с описанием.
Declaration
IEnumDoublePropertyDefinition CreateEnumDoublePropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IEnumDoublePropertyDefinition | Созданное определение свойства типа Перечислимое число с плавающей запятой с описанием. |
CreateEnumIntPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Перечислимое целое с описанием.
Declaration
IEnumIntPropertyDefinition CreateEnumIntPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IEnumIntPropertyDefinition | Созданное определение свойства типа Перечислимое целое с описанием. |
CreateEnumPropertyDefinition(string, string, string, IEnumerable<string>, Guid?, ObjectStorageType)
Создает определение свойства типа Enum.
Declaration
IEnumPropertyDefinition CreateEnumPropertyDefinition(string name, string code = null, string description = null, IEnumerable<string> items = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| IEnumerable<string> | items | Пункты перечисления. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IEnumPropertyDefinition | Созданное определение свойства типа Enum. |
CreateEnumStringPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Перечислимое строковое с описанием.
Declaration
IEnumStringPropertyDefinition CreateEnumStringPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IEnumStringPropertyDefinition | Созданное определение свойства типа Перечислимое строковое с описанием. |
CreateGuidPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Guid.
Declaration
IGuidPropertyDefinition CreateGuidPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IGuidPropertyDefinition | Созданное определение свойства типа Guid. |
CreateImagePropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Image.
Declaration
IImagePropertyDefinition CreateImagePropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IImagePropertyDefinition | Созданное определение свойства типа Image. |
CreateIntegerPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Integer.
Declaration
IIntegerPropertyDefinition CreateIntegerPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IIntegerPropertyDefinition | Созданное определение свойства типа Integer. |
CreateOpticPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Optic.
Declaration
IOpticPropertyDefinition CreateOpticPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name. |
| string | code | The code. |
| string | description | The description. |
| Guid? | id | The identifier. |
| ObjectStorageType | storageType | Type of the storage. |
Returns
| Type | Description |
|---|---|
| IOpticPropertyDefinition | Созданное определение свойства типа Optic. |
CreatePropDefGroup(string, Guid?, ObjectStorageType)
Создает группу описаний свойств.
Declaration
IPropDefGroup CreatePropDefGroup(string name, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя группы. |
| Guid? | id | Уникальный идентификатор группы. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IPropDefGroup | Созданная группа описаний свойств. |
CreateRtfPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Rtf.
Declaration
IRtfPropertyDefinition CreateRtfPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IRtfPropertyDefinition | Созданное определение свойства типа Rtf. |
CreateSetPropertyDefinition(string, string, string, IEnumerable<string>, Guid?, ObjectStorageType)
Создает определение свойства типа Set.
Declaration
ISetPropertyDefinition CreateSetPropertyDefinition(string name, string code = null, string description = null, IEnumerable<string> items = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| IEnumerable<string> | items | Пункты перечисления. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| ISetPropertyDefinition | Созданное определение свойства типа Set. |
CreateStringPropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа String.
Declaration
IStringPropertyDefinition CreateStringPropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| IStringPropertyDefinition | Созданное определение свойства типа String. |
CreateTablePropertyDefinition(string, string, string, Guid?, ObjectStorageType)
Создает определение свойства типа Таблица.
Declaration
ITablePropertyDefinition CreateTablePropertyDefinition(string name, string code = null, string description = null, Guid? id = null, ObjectStorageType storageType = ObjectStorageType.Persistent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Имя свойства. |
| string | code | Код свойства. |
| string | description | Описание. |
| Guid? | id | Идентификатор. |
| ObjectStorageType | storageType | Тип хранения. |
Returns
| Type | Description |
|---|---|
| ITablePropertyDefinition | Созданное определение свойства типа Таблица. |
MoveTo(IPropDefGroupOwner)
Перемещает группу описаний свойств в указанного владельца групп.
Declaration
void MoveTo(IPropDefGroupOwner destinationGroupOwner)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropDefGroupOwner | destinationGroupOwner | Владелец групп назначения. |