Table of Contents

Class ExtensionFunction

Namespace
Playnite.SDK
Assembly
Playnite.SDK.dll

Represents executable function.

public class ExtensionFunction
Inheritance
ExtensionFunction
Inherited Members

Constructors

ExtensionFunction(string)

Creates new instance of ExtensionFunction with specified name.

public ExtensionFunction(string name)

Parameters

name string

Function name.

ExtensionFunction(string, Action)

Creates new instance of ExtensionFunction with specified name and method to execute.

public ExtensionFunction(string name, Action func)

Parameters

name string

Function name.

func Action

Method to be executed.

Properties

Name

Gets or sets function name.

public string Name { get; set; }

Property Value

string

Methods

Invoke()

Invokes function.

public virtual void Invoke()

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.