Class AnnotationManagementFactory
Factory class for creating instances of IAnnotationManagement.
Inherited Members
Namespace: Unity.Cloud.Collaboration
Assembly: Unity.Cloud.Collaboration.dll
Syntax
public class AnnotationManagementFactory
Methods
GetAnnotationManagement(IServicesContainer)
Creates IAnnotationManagement instance using provided container with services
Declaration
public IAnnotationManagement GetAnnotationManagement(IServicesContainer serviceContainer)
Parameters
| Type | Name | Description |
|---|---|---|
| IServicesContainer | serviceContainer | DI Container with services |
Returns
| Type | Description |
|---|---|
| IAnnotationManagement | Instance of IAnnotationManagement |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |
| InvalidArgumentException | Thrown when |
GetAnnotationManagement(IServiceHttpClient, IServiceHostResolver)
Creates IAnnotationManagement instance using provided services
Declaration
public IAnnotationManagement GetAnnotationManagement(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 |
|---|---|
| IAnnotationManagement | Instance of IAnnotationManagement |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when |