Method Invoke
Invoke<T>(ActionContext)
Execute a given action with a context parameter.
Declaration
public static bool Invoke<T>(this ActionContext context) where T : TimelineAction
Parameters
| Type | Name | Description |
|---|---|---|
| ActionContext | context | Context for the action. |
Returns
| Type | Description |
|---|---|
| bool | True if the action has been executed, false otherwise. |
Type Parameters
| Name | Description |
|---|---|
| T | Action type to execute. |
Invoke<T>(IEnumerable<TrackAsset>)
Execute a given action with tracks
Declaration
public static bool Invoke<T>(this IEnumerable<TrackAsset> tracks) where T : TrackAction
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TrackAsset> | tracks | Tracks that the action will act on. |
Returns
| Type | Description |
|---|---|
| bool | True if the action has been executed, false otherwise. |
Type Parameters
| Name | Description |
|---|---|
| T | Action type to execute. |
Invoke<T>(IEnumerable<TimelineClip>)
Execute a given action with clips
Declaration
public static bool Invoke<T>(this IEnumerable<TimelineClip> clips) where T : ClipAction
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<TimelineClip> | clips | Clips that the action will act on. |
Returns
| Type | Description |
|---|---|
| bool | True if the action has been executed, false otherwise. |
Type Parameters
| Name | Description |
|---|---|
| T | Action type to execute. |
Invoke<T>(IEnumerable<IMarker>)
Execute a given action with markers
Declaration
public static bool Invoke<T>(this IEnumerable<IMarker> markers) where T : MarkerAction
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<IMarker> | markers | Markers that the action will act on. |
Returns
| Type | Description |
|---|---|
| bool | True if the action has been executed, false otherwise. |
Type Parameters
| Name | Description |
|---|---|
| T | Action type to execute. |