Interface IRestrictedList
Ограничительный перечень
Inherited Members
Namespace: Ascon.Polynom.Api
Assembly: Ascon.Polynom.Api.dll
Syntax
public interface IRestrictedList : IAbleToHaveChangeableName, IAbleToHaveName, IAbleToHaveDescription, ICodeableApiObject, IDeleteableApiObject, IApiObject, IApiEntity, INotifyPropertyChanged
Properties
IsMandatory
Возвращает или задает опцию "Обязательный"
Declaration
bool IsMandatory { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Owners
Возвращает коллекцию объектов и документов, входящих в ограничительный перечень
Declaration
IApiReadOnlyCollection<IGroupPropertyOwner> Owners { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IGroupPropertyOwner> |
RestrictedListRoleItems
Возвращает элементы ограничительного перечня
Declaration
IApiReadOnlyCollection<IRestrictedListRole> RestrictedListRoleItems { get; }
Property Value
| Type | Description |
|---|---|
| IApiReadOnlyCollection<IRestrictedListRole> |
Statistic
Возвращает статистику.
Declaration
IReadOnlyList<IStatisticItem> Statistic { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<IStatisticItem> | Статистика. |
Methods
AddOwner(IGroupPropertyOwner)
Добавление в ограничительный перечень объект или документ
Declaration
void AddOwner(IGroupPropertyOwner owner)
Parameters
| Type | Name | Description |
|---|---|---|
| IGroupPropertyOwner | owner |
RemoveOwner(IGroupPropertyOwner)
Удаление из ограничительного перечня объекта или документа
Declaration
void RemoveOwner(IGroupPropertyOwner owner)
Parameters
| Type | Name | Description |
|---|---|---|
| IGroupPropertyOwner | owner |