SDKOptions class
It will provide a option to DataExchange SDK such as Authentication, Storage, Hosting, logger etc.
public class SDKOptions
Public Members
| name | description |
|---|---|
| SDKOptions() | Initializes a new instance of the SDKOptions class. |
| AuthProvider { get; set; } | Gets or sets an instance to authenticate connector SDK. |
| ConfigureServices { get; set; } | Sets delegate to allow external configuration of the ServiceCollection. |
| ConnectorName { get; set; } | Gets or sets unique Connector Name. Also used to form the path for storing logs. |
| ConnectorRootPath { get; } | Gets or sets the connector root path. |
| ConnectorVersion { get; set; } | Gets or sets the current version of the connector. |
| ContractProvider { get; set; } | Gets or sets an instance for data exchange contract provider. |
| GeometryConfiguration { get; set; } | Gets or sets the geometry configuration. The Geometry configuration instance where you can configure GUSDK configuration such as STEPProtocol, STEPTolerance, etc. |
| HostApplicationName { get; set; } | Gets or sets the name of the hosting application. |
| HostApplicationVersion { get; set; } | Gets or sets the current version of the hosting application. |
| HostingProvider { get; set; } | Gets or sets the hosting provider. |
| Logger { get; set; } | Gets or sets the ILogger interface object enables logging of events, messages, and errors during execution, offering valuable insight for application debugging, monitoring, and maintenance. |
| SourceProvider { get; set; } | Gets or sets an instance for data exchange source provider. |
| Storage { get; set; } | Gets or sets the storage instance. This interface provides functionality for storing data in a cache-like manner. |
| UpdateCheckFrequency { get; set; } | Gets or sets the update check frequency in seconds. |
| WarmupServices { get; set; } | Eagerly warm up gRPC service connections at Client initialization. Default: false. InitializeSDKOptions sets this to true for production connectors. If using SDKOptions directly, set to true explicitly when first-call latency is user-visible. Unit tests and integration tests should leave this false — services start lazily on demand. |
| RegisterAdpAnalytics(…) | Registers a connector-supplied IAdpAnalytics implementation with the SDK client. Chains with any existing ConfigureServices delegate. |
| Validate() | Validates this instance. |
See Also
- namespace Autodesk.DataExchange