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 PluginResultFields
error
Declaration
public LazyFormatString errorField Value
| Type | Description | 
|---|---|
| LazyFormatString | 
isError
Declaration
public bool isErrorField Value
| Type | Description | 
|---|---|
| System.Boolean | 
plugin
Declaration
public ITweenPlugin pluginField Value
| Type | Description | 
|---|---|
| ITweenPlugin | 
userData
Declaration
public object userDataField 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 |