Show / Hide Table of Contents

Interface IDecoratable<T>

Represents a basic decoratable.

Inherited Members
INotifyPropertyChanged.PropertyChanged
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface IDecoratable<T> : IDecoratable, INotifyPropertyChanged where T : IDecorator
Type Parameters
Name Description
T

The type of decorators this decoratable can be decorated with.

Properties

| Edit this page View Source

Decorators

Gets a readonly-list of all IDecorator attached to this IDecoratable<T>.

Declaration
IReadOnlyList<T> Decorators { get; }
Property Value
Type Description
IReadOnlyList<T>

Methods

| Edit this page View Source

AddDecorator(T)

Adds an IDecorator to the IDecoratable.

Declaration
void AddDecorator(T decorator)
Parameters
Type Name Description
T decorator

The IDecorator to be added.

| Edit this page View Source

RemoveAllDecorators()

Removes all IDecorator from the IDecoratable.

Declaration
void RemoveAllDecorators()
| Edit this page View Source

RemoveDecorator(T)

Removes an IDecorator from the IDecoratable.

Declaration
void RemoveDecorator(T decorator)
Parameters
Type Name Description
T decorator

The IDecorator to be removed.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX