Interface ICustomTreeService
Information about client specific tree configurations. See tree settings advanced admin page.
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface ICustomTreeService
Methods
GetEnrollerTree()
Gets the Enrollment tree.
Declaration
Task<CustomTree> GetEnrollerTree()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CustomTree> |
Exceptions
Type | Condition |
---|---|
System.Exception | Not found. |
GetSponsorTree()
Gets the IsSponsorTree tree.
Declaration
Task<CustomTree> GetSponsorTree()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CustomTree> |
Exceptions
Type | Condition |
---|---|
System.Exception | Not found. |
GetTree(String)
Gets the specified tree named treeName
.
Declaration
Task<CustomTree> GetTree(string treeName)
Parameters
Type | Name | Description |
---|---|---|
System.String | treeName |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CustomTree> |
Exceptions
Type | Condition |
---|---|
System.Exception | Not found. |
GetTrees()
Get all the trees configured.
Declaration
Task<CustomTree[]> GetTrees()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<CustomTree[]> |
Exceptions
Type | Condition |
---|---|
System.Exception | No trees configured. |