All pages
Powered by GitBook
1 of 15

Loading...

Loading...

Loading...

AddCommandHandler(string,Func<object>)

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Actions(IActionRegistration,Library)

Constructor in Actions

Summary

Parameters

Name
Description

Yarn.Unity.IActionRegistration actionRegistrar

Yarn.Library library

AddCommandHandler(string,Delegate)

Method in Actions

Summary

public void AddCommandHandler(string commandName, Delegate handler)

Parameters

Name
Description

string commandName

Delegate handler

public Actions(IActionRegistration actionRegistrar, Library library)

Actions

Class in Yarn.Unity

Inherits from System.Object

Summary

public class Actions : ICommandDispatcher

Constructors

Name
Description

Actions(IActionRegistration,Library)

Methods

Name
Description

AddCommandHandler(string,Delegate)

AddCommandHandler(string,Func)

AddCommandHandler(string,MethodInfo)

Properties

AddFunction(string,Delegate)
AddRegistrationMethod(ActionRegistrationMethod)
RegisterActions()
RegisterFunctionDeclaration(string,Type,Type[])
RemoveCommandHandler(string)
RemoveFunction(string)
SetupForProject(YarnProject)

AddRegistrationMethod(ActionRegistrationMethod)

Method in

Name
Description
public static void AddRegistrationMethod(ActionRegistrationMethod registerActions)

Action<Yarn.Unity.IActionRegistration, Yarn.Unity.RegistrationType> registerActions

Summary

Parameters

Actions

ActionRegistrar

Property in

Commands

Property in

RemoveCommandHandler(string)

Method in

Name
Description
public IActionRegistration ActionRegistrar { get; }

Summary

Actions
public IEnumerable<ICommand> Commands { get }

Summary

Actions
public void RemoveCommandHandler(string commandName)

string commandName

Summary

Parameters

Actions

RegisterActions()

Method in Actions

Summary

public void RegisterActions()

AddFunction(string,Delegate)

Method in Actions

Summary

public void AddFunction(string name, Delegate implementation)

Parameters

Name
Description

string name

Delegate implementation

RegisterFunctionDeclaration(string,Type,Type[])

Method in Actions

Summary

public void RegisterFunctionDeclaration(string name, Type returnType, Type[] parameterTypes)

Parameters

Name
Description

string name

Type returnType

Type[] parameterTypes

Library

Property in

SetupForProject(YarnProject)

Method in

Name
Description
public Library Library { get; }

Summary

Actions
public void SetupForProject(YarnProject yarnProject)

yarnProject

Summary

Parameters

Actions
Yarn.Unity.YarnProject

AddCommandHandler(string,MethodInfo)

Method in

Name
Description
public void AddCommandHandler(string commandName, MethodInfo methodInfo)

string commandName

MethodInfo methodInfo

Summary

Parameters

Actions

RemoveFunction(string)

Method in

Name
Description
public void RemoveFunction(string name)

string name

Summary

Parameters

Actions