Exemple #1
0
 /// <summary>
 /// A collection of action objects (Optional)
 /// represented in JSON Siren as an array such as { "actions": [{ ... }] }. See Actions.
 /// </summary>
 /// <param name="action"></param>
 public void AddAction(SirenAction action)
 {
     this.actions.Add(action);
 }
Exemple #2
0
 /// <summary>
 /// A collection of action objects (Optional) 
 /// represented in JSON Siren as an array such as { "actions": [{ ... }] }. See Actions. 
 /// </summary>
 /// <param name="action"></param>
 public void AddAction(SirenAction action)
 {
     this.actions.Add(action);
 }