Table of Contents

Class TimerAttribute

Namespace
SampSharp.Entities
Assembly
SampSharp.OpenMp.Entities.dll

An attribute which indicates the method should be invoked at a specified interval.

[AttributeUsage(AttributeTargets.Method)]
public class TimerAttribute : Attribute
Inheritance
TimerAttribute
Inherited Members

Constructors

TimerAttribute(double)

Initializes a new instance of the TimerAttribute class.

public TimerAttribute(double interval)

Parameters

interval double

The interval of the timer in milliseconds.

Properties

Interval

Gets or sets the interval of the timer in milliseconds.

public double Interval { get; set; }

Property Value

double