public interface IComposite<TComponent, in TOperation> : IComponent<TOperation>,
IComponent
where TComponent : class, Object, IComponent<TOperation>
where TOperation : class, IOperationVisitor
Public Interface IComposite(Of TComponent As {Class, Object, IComponent(Of TOperation)}, In TOperation As {Class, IOperationVisitor})
Inherits IComponent(Of TOperation), IComponentgeneric<typename TComponent, typename TOperation>
where TComponent : ref class, Object, IComponent<TOperation>
where TOperation : ref class, IOperationVisitor
public interface class IComposite : IComponent<TOperation>,
IComponenttype IComposite<'TComponent, 'TOperation when 'TComponent : not struct and Object and IComponent<'TOperation> when 'TOperation : not struct and IOperationVisitor> =
interface
interface IComponent<'TOperation>
interface IComponent
end| Components | Gets Возвращает список компонентов контейнера расположенных непосредственно в самом контейнере. |
| Parent |
Gets or sets Родитель/Владелец
(Унаследован от IComponent) |
| Accept |
Вызывает выполнение операции operation
над текущим узлом
(Унаследован от IComponentTOperation) |
| AddComponent | Добавляет компонент component в контейнер. Добавляемый компонент должен быть не равен null. |
| ClearComponents | Осуществляет удаление из контейнера всех элементов |
| GetFullyQualifiedName |
Возвращает полное имя объекта
(Унаследован от IComponent) |
| RemoveComponent | Удаляет компонент component из контейнера. Удаляемый компонент должен быть не равен null |