Struct PluginResult
Result of a PluginLoader method.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sttz.Tweener.Core
Assembly: cs.temp.dll.dll
Syntax
public struct PluginResult
Fields
error
Declaration
public LazyFormatString error
Field Value
Type | Description |
---|---|
LazyFormatString |
isError
Declaration
public bool isError
Field Value
Type | Description |
---|---|
System.Boolean |
plugin
Declaration
public ITweenPlugin plugin
Field Value
Type | Description |
---|---|
ITweenPlugin |
userData
Declaration
public object userData
Field Value
Type | Description |
---|---|
System.Object |
Methods
Error(LazyFormatString)
Create a new result representing an error.
Declaration
public static PluginResult Error(LazyFormatString message)
Parameters
Type | Name | Description |
---|---|---|
LazyFormatString | message |
Returns
Type | Description |
---|---|
PluginResult |
GetError()
Get the formatted error string.
Declaration
public string GetError()
Returns
Type | Description |
---|---|
System.String |
Load(ITweenPlugin, Object)
Create a new result representing success.
Declaration
public static PluginResult Load(ITweenPlugin plugin, object userData = null)
Parameters
Type | Name | Description |
---|---|---|
ITweenPlugin | plugin | Plugin instance to use |
System.Object | userData | User data to pass to the plugin instance |
Returns
Type | Description |
---|---|
PluginResult |