RegisterEffect Method
RegisterEffect<T>(Func<T>)
Declaration
public CustomEffectFactory RegisterEffect<T>(Func<T> effectFactory) where T : ICustomEffect
Parameters
| Type |
Name |
Description |
| Func<T> |
effectFactory |
|
Returns
Type Parameters
RegisterEffect<T>(Func<T>, Guid)
Declaration
public CustomEffectFactory RegisterEffect<T>(Func<T> effectFactory, Guid effectId) where T : ICustomEffect
Parameters
| Type |
Name |
Description |
| Func<T> |
effectFactory |
|
| Guid |
effectId |
|
Returns
Type Parameters
RegisterEffect<T>(out bool)
Declaration
public CustomEffectFactory RegisterEffect<T>(out bool wasActuallyRegistered) where T : ICustomEffect, new()
Parameters
| Type |
Name |
Description |
| bool |
wasActuallyRegistered |
|
Returns
Type Parameters
RegisterEffect<T>(Guid, out bool)
Declaration
public CustomEffectFactory RegisterEffect<T>(Guid effectId, out bool wasActuallyRegistered) where T : ICustomEffect, new()
Parameters
| Type |
Name |
Description |
| Guid |
effectId |
|
| bool |
wasActuallyRegistered |
|
Returns
Type Parameters