Show / Hide Table of Contents

Interface IDecorator

Represents a basic decorator.

Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface IDecorator

Properties

| Edit this page View Source

IsEnabled

Gets or sets if the IDecorator is enabled and will be used.

Declaration
bool IsEnabled { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Order

Gets or sets the order in which multiple decorators should be applied on the same object. Higher orders are processed first.

Declaration
int Order { get; set; }
Property Value
Type Description
int

Methods

| Edit this page View Source

OnAttached(IDecoratable)

Attaches this IDecorator to the specified target.

Declaration
void OnAttached(IDecoratable decoratable)
Parameters
Type Name Description
IDecoratable decoratable

The object this IDecorator should be attached to.

| Edit this page View Source

OnDetached(IDecoratable)

Detaches this IDecorator from the specified target.

Declaration
void OnDetached(IDecoratable decoratable)
Parameters
Type Name Description
IDecoratable decoratable

The object this IDecorator should be detached from.

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