Class ActionsResolver
A resolver to return all IAction objects
Inheritance
System.Object
Namespace:System.Dynamic.ExpandoObject
Assembly:Umbraco.Core.dll
Syntax
public sealed class ActionsResolver : LazyManyObjectsResolverBase<ActionsResolver, IAction>
Properties
Actions
Gets the umbraco.interfaces.IAction implementations.
Declaration
public IEnumerable<IAction> Actions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<umbraco.interfaces.IAction> |
Methods
CreateInstances()
Declaration
protected override IEnumerable<IAction> CreateInstances()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<umbraco.interfaces.IAction> |
FromActionSymbols(IEnumerable<String>)
This method will return a list of IAction's based on a string (letter) list. Each character in the list may represent an IAction. This will associate any found IActions based on the Letter property of the IAction with the character being referenced.
Declaration
public IEnumerable<IAction> FromActionSymbols(IEnumerable<string> actions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | actions |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<umbraco.interfaces.IAction> | returns a list of actions that have an associated letter found in the action string list |
ToActionSymbols(IEnumerable<IAction>)
Returns the string (letter) representation of the actions that make up the actions collection
Declaration
public IEnumerable<string> ToActionSymbols(IEnumerable<IAction> actions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<umbraco.interfaces.IAction> | actions |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |