Class WorkflowTaskRepository
Default implementaion of IWorkflowTaskRepository.
Inheritance
System.Object
WorkflowTaskRepository
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[ServiceConfiguration(typeof(IWorkflowTaskRepository))]
public class WorkflowTaskRepository : IWorkflowTaskRepository
Constructors
WorkflowTaskRepository(ServiceAccessor<TaskDB>)
Initializes a new instance of the WorkflowTaskRepository class.
Declaration
public WorkflowTaskRepository(ServiceAccessor<TaskDB> taskDataAccess)
Parameters
Type | Name | Description |
---|---|---|
ServiceAccessor<TaskDB> | taskDataAccess | The task data access. |
Methods
List(IPrincipal)
Gets all tasks which the principal has permission to view.
Declaration
public IEnumerable<Task> List(IPrincipal user)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | user | The principal to list tasks for. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Task> | Collection of Task objects |