Interface IProperty
Свойство.
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IProperty : IApiObject, IApiEntity, INotifyPropertyChanged
Properties
Contract
Возвращает понятие.
Declaration
IContract Contract { get; }
Property Value
| Type | Description |
|---|---|
| IContract |
ContractPropertySource
Возвращает источник свойства в контракте.
Declaration
IContractPropertySource ContractPropertySource { get; }
Property Value
| Type | Description |
|---|---|
| IContractPropertySource |
Definition
Возвращает описание свойства.
Declaration
IPropertyDefinition Definition { get; }
Property Value
| Type | Description |
|---|---|
| IPropertyDefinition |
DisplayName
Возвращает название свойства.
Declaration
string DisplayName { get; }
Property Value
| Type | Description |
|---|---|
| string |
EvaluationPropertyInfo
Возвращает информацию о формулах и вычислениях.
Declaration
IEvaluationPropertyInfo EvaluationPropertyInfo { get; }
Property Value
| Type | Description |
|---|---|
| IEvaluationPropertyInfo |
Id
Уникальный идентификатор.
Declaration
Guid Id { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
IsLinked
Возвращает признак того, что свойство является связанным.
Declaration
bool IsLinked { get; }
Property Value
| Type | Description |
|---|---|
| bool |
IsOwn
Возвращает признак того, что свойство является собственным.
Declaration
bool IsOwn { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
LinkedPropertyInfo
Возвращает информацию о связи (для ссылочных свойств).
Declaration
ILinkedPropertyInfo LinkedPropertyInfo { get; }
Property Value
| Type | Description |
|---|---|
| ILinkedPropertyInfo |
Owner
Возвращает владельца свойства.
Declaration
IPropertyOwner Owner { get; }
Property Value
| Type | Description |
|---|---|
| IPropertyOwner |
Qualifier
Возвращает квалификатор свойства.
Declaration
IPropertyQualifier Qualifier { get; }
Property Value
| Type | Description |
|---|---|
| IPropertyQualifier |
Value
Возвращает значение свойства.
Declaration
IPropertyValue Value { get; }
Property Value
| Type | Description |
|---|---|
| IPropertyValue |
Methods
AssignPropertyValue(IPropertyValueData)
Присваивает значение свойства.
Declaration
IPropertyValue AssignPropertyValue(IPropertyValueData data)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyValueData | data | Значение свойства. |
Returns
| Type | Description |
|---|---|
| IPropertyValue | Значение свойства или null. |
Remarks
Если понятие не задано, то значение будет присвоено в понятие "Собственные свойства."
Evaluate()
Вычисляет свойство по формуле (если формулы нет, ничего не меняется).
Declaration
void Evaluate()