Show / Hide Table of Contents

Class AbstractDecoratable<T>

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Inheritance
object
AbstractBindable
AbstractDecoratable<T>
AbstractBrush
AbstractLedGroup
AbstractGradient
RainbowGradient
Implements
IBindable
IDecoratable<T>
IDecoratable
INotifyPropertyChanged
Inherited Members
AbstractBindable.PropertyChanged
AbstractBindable.RequiresUpdate<T>(ref T, T)
AbstractBindable.SetProperty<T>(ref T, T, string)
AbstractBindable.OnPropertyChanged(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public abstract class AbstractDecoratable<T> : AbstractBindable, IBindable, IDecoratable<T>, IDecoratable, INotifyPropertyChanged where T : IDecorator
Type Parameters
Name Description
T

The type of decorators this decoratable can be decorated with.

Constructors

| Edit this page View Source

AbstractDecoratable()

Initializes a new instance of the AbstractDecoratable<T> class.

Declaration
protected AbstractDecoratable()

Properties

| Edit this page View Source

Decorators

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

Declaration
public 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
public 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
public void RemoveAllDecorators()
| Edit this page View Source

RemoveDecorator(T)

Removes an IDecorator from the IDecoratable.

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

The IDecorator to be removed.

Implements

IBindable
IDecoratable<T>
IDecoratable
INotifyPropertyChanged
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX