Class JiraManagementFactory
Factory class for creating instances of IJiraManagement.
Inherited Members
Namespace: Unity.Cloud.Collaboration
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public class JiraManagementFactory
Methods
GetJiraManagement(IServicesContainer)
Creates IJiraManagement instance using provided container with services
Declaration
public IJiraManagement GetJiraManagement(IServicesContainer serviceContainer)
Parameters
| Type | Name | Description |
|---|---|---|
| IServicesContainer | serviceContainer | DI Container with services |
Returns
| Type | Description |
|---|---|
| IJiraManagement | Instance of IJiraManagement |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |
| InvalidArgumentException | Thrown when |
GetJiraManagement(IServiceHttpClient, IServiceHostResolver)
Creates IJiraManagement instance using provided services
Declaration
public IJiraManagement GetJiraManagement(IServiceHttpClient serviceHttpClient, IServiceHostResolver serviceHostResolver)
Parameters
| Type | Name | Description |
|---|---|---|
| IServiceHttpClient | serviceHttpClient | Instance of http client to send requests |
| IServiceHostResolver | serviceHostResolver | Instance of host resolver to get base url |
Returns
| Type | Description |
|---|---|
| IJiraManagement | Instance of IJiraManagement |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |