System.Collections.Generic.List.Add(workflownodeaction)

Here are the examples of the csharp api System.Collections.Generic.List.Add(workflownodeaction) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 View Source File : workflownodeactionEx.cs
License : MIT License
Project Creator : ecjtuseclab

public List<workflownodeaction> getInitworkflownodeaction()
        {
            List<workflownodeaction> wfnas = db.Queryable<workflownodeaction>().ToList();
            List<workflownodeaction> Iwfnas = new List<workflownodeaction>();
            foreach (workflownodeaction wfna in wfnas)
            {
                Iwfnas.Add(wfna as workflownodeaction);
            }
            return Iwfnas;
        }

19 View Source File : workflownodeactionEx.cs
License : MIT License
Project Creator : ecjtuseclab

public List<workflownodeaction> getcountersignnodeaction(workflownodeaction nodeaction)
        {
            List<workflownodeaction> nodeactions = db.Queryable<workflownodeaction>().Where(d => d.currentnodeid == nodeaction.currentnodeid && d.nextnodeid == nodeaction.nextnodeid && d.nodetype == nodeaction.nodetype).ToList();
            List<workflownodeaction> Iwfnas = new List<workflownodeaction>();
            foreach (workflownodeaction wfna in nodeactions)
            {
                Iwfnas.Add(wfna as workflownodeaction);
            }
            return Iwfnas;
        }