Table of Contents

Interface IRun

Namespace
MonkeyLoader.Meta
Assembly
MonkeyLoader.dll

Defines the interface for everything that can be run.

public interface IRun

Properties

Failed

Gets whether this object's Run() method failed when it was called.

bool Failed { get; }

Property Value

bool

Ran

Gets whether this object's Run() method has been called.

bool Ran { get; }

Property Value

bool

Methods

Run()

Runs this object to activate its effects.
Must only be called once.

bool Run()

Returns

bool

true if it ran successfully; otherwise, false.

Exceptions

InvalidOperationException

If it gets called more than once.