Show / Hide Table of Contents

Class AbstractUpdateAwareDecorator

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
AbstractDecorator
AbstractUpdateAwareDecorator
FlashDecorator
MoveGradientDecorator
Implements
IBindable
INotifyPropertyChanged
IDecorator
Inherited Members
AbstractDecorator.IsEnabled
AbstractDecorator.Order
AbstractDecorator.DecoratedObjects
AbstractDecorator.Detach()
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 AbstractUpdateAwareDecorator : AbstractDecorator, IBindable, INotifyPropertyChanged, IDecorator

Constructors

| Edit this page View Source

AbstractUpdateAwareDecorator(RGBSurface, bool)

Initializes a new instance of the AbstractUpdateAwareDecorator class.

Declaration
protected AbstractUpdateAwareDecorator(RGBSurface surface, bool updateIfDisabled = false)
Parameters
Type Name Description
RGBSurface surface

The surface this decorator is attached to.

bool updateIfDisabled

Bool indicating if the AbstractUpdateAwareDecorator should call Update(double) even if the Decorator is disabled.

Properties

| Edit this page View Source

Surface

Gets the surface this decorator is attached to.

Declaration
protected RGBSurface Surface { get; }
Property Value
Type Description
RGBSurface
| Edit this page View Source

UpdateIfDisabled

Gets or sets if the AbstractUpdateAwareDecorator should call Update(double) even if the Decorator is disabled.

Declaration
protected bool UpdateIfDisabled { get; set; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

OnAttached(IDecoratable)

Attaches this IDecorator to the specified target.

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

The object this IDecorator should be attached to.

Overrides
AbstractDecorator.OnAttached(IDecoratable)
| Edit this page View Source

OnDetached(IDecoratable)

Detaches this IDecorator from the specified target.

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

The object this IDecorator should be detached from.

Overrides
AbstractDecorator.OnDetached(IDecoratable)
| Edit this page View Source

Update(double)

Updates this AbstractUpdateAwareDecorator.

Declaration
protected abstract void Update(double deltaTime)
Parameters
Type Name Description
double deltaTime

The elapsed time (in seconds) since the last update.

Implements

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