Namespace Unity.Cloud.Common
Classes
AesStringObfuscator
An IStringObfuscator implementation that uses AesCryptoServiceProvider encryption and decryption methods to obfuscate string values.
ApiSourceVersion
A class containing version information about the source API.
ApiSourceVersionAttribute
An attribute to store apiSourceVersion for a given Assembly.
AuthenticationFailedException
Authentication failed.
ConnectionException
This exception is thrown if the connection to the server fails.
DefaultAppNamespaceProvider
A class which provides the default App namespace.
DotNetHttpClient
An implementation of IHttpClient for .Net specific applications
ExponentialBackoffRetryPolicy
An implementation of IRetryPolicy that employs an "Exponential Backoff With Jitter" strategy.
FileKeyValueStore
An IKeyValueStore implementation that uses text files for storage.
ForbiddenException
Access forbidden.
HttpClientExtensions
Helper methods for IHttpClient.
HttpClientJsonExtensions
Helper methods for IHttpClient
HttpResponseMessageExtensions
Helper methods for HttpResponseMessage.
IServiceMessagingClientExtensions
Helper methods for IServiceMessagingClient.
InvalidArgumentException
Invalid argument.
InvalidRequestException
The request was not valid.
JsonSerialization
A class to serialize and deserialize objects to JSON.
LaunchArgumentsParser
This class handles launch arguments parsing of the current running process.
LogEvent
Object that holds the information associated to a single log
LogOutputs
Manages all log outputs
LoggerExtension
Helpers function for logging
LoggerProvider
Main UCLogger class that allow retrieving/creating a UCLogger object
Message
Object used to contain messaging information
MessageCollection
Object used to store multiple Message objects and corresponding checkpoints
NoRetryPolicy
An implementation of IRetryPolicy that tries only once.
NotFoundException
The service or resource was not found.
PayloadTooLargeException
The payload is too large.
QueryArgumentsParser
Helper methods to parse query arguments from a Uri.
RetryExecutionFailedException
This exception is thrown by ExecuteAsync<T>(RetriedOperation<T>, ShouldRetryChecker<T>, CancellationToken, IProgress<RetryQueuedProgress>) when a critical exception (passed as innerException) occurs during execution of the retry policy.
RetryPolicyExtensions
Helper methods for IRetryPolicy.
ServerException
The server encountered an unexpected error.
ServiceClientException
The request could not be processed.
ServiceDomainResolver
ServiceException
A Service Error was returned by a service.
ServiceHeaderUtils
Helper methods for managing HTTP headers.
ServiceHostResolver
ServiceHostResolverExtensions
Helper methods for IServiceHostResolver.
ServiceHostResolverFactory
A factory class used to create a IServiceHostResolver.
ServiceHttpClient
An implementation of an HTTP client which abstracts the Task of sending HttpRequestMessage.
ServiceHttpClientExtensions
Helper methods for IServiceHttpClient.
ServiceHttpClientHeaderModifier
An implementation of an HTTP client which abstracts the Task of sending HttpRequestMessage and adds a fixed set of predefined headers to each request.
ServiceMessagingClient
Interface for a messaging client used to connect to a service and send/receive messages
TimeAwaiter
A class for awaiting a specific amount of time.
TimeAwaiterExtensions
Helper methods for ITimeAwaiter.
TooManyRequestsException
Too many requests.
TransientServiceException
Reaching the service has failed.
UCLogger
Class used to do the actual logging from dev code.
UnauthorizedException
Not authorized to access service.
UnsupportedMediaTypeException
The media type is not supported.
WebSocketHeaders
A derived class of HttpHeaders specifically for web socket headers.
Structs
AppId
This struct holds information about an app identifier.
AssetDescriptor
A struct containing the identifiers for an asset.
AssetId
This struct holds information about asset identifier.
AssetVersion
This struct holds information about asset version identifier.
DatasetDescriptor
A struct containing the identifiers for a dataset.
DatasetId
Holds information about a dataset identifier.
FileDescriptor
A struct containing the identifiers for a dataset.
GroupId
This struct holds information about a group identifier.
HttpProgress
Contains status information on the progress of an IHttpClient operation.
InstanceId
This struct holds information about instance identifier.
OrganizationId
This struct holds information about the genesis organization identifier.
Permission
This struct holds information about a permission.
ProjectDescriptor
This struct contains the identifiers for a project.
ProjectId
This struct holds information about project identifier.
RetryQueuedProgress
Contains information about a RetryQueue event, when using ExecuteAsync<T>(RetriedOperation<T>, ShouldRetryChecker<T>, CancellationToken, IProgress<RetryQueuedProgress>) or its additional extensions.
Role
This struct holds information about a role.
ServiceHost
Contains the values for ServiceEnvironment and ServiceDomainProvider.
ServiceHttpClientOptions
A class to configure options for a IServiceHttpClient
ServiceMessagingClientOptions
A class to configure options for a IServiceMessagingClient
UserId
This struct holds information about a user identifier.
Interfaces
IAppIdProvider
An interface that represents a provider of an app ID.
IAppNamespaceProvider
An interface that represents a provider for an app namespace.
IClipboard
An interface for clipboard features.
IHttpClient
Interface that represent a client for making http requests.
IKeyValueStore
An interface which abstracts methods related to reading and writing string content to a persistent file storage.
ILogOutput
Interface to implement to be able to receive log and act upon them (e.g. write to file)
IRetryPolicy
Interface which abstracts Retry Policies.
IServiceAuthorizer
This interface abstracts the task of applying authorization information to a given resource.
IServiceDomainResolver
Resolves the domain and subdomain for the service address based on a given provider and domain target.
IServiceHostResolver
Resolves the service environment and domain provider for the application.
IServiceHttpClient
This interface abstracts the Task of sending HttpRequestMessage.
IServiceMessagingClient
Interface for a messaging client used to connect to a service and send/receive messages
IStringObfuscator
An interface providing encryption and decryption methods to obfuscate string values.
ITimeAwaiter
An interface for awaiting a specific amount of time.
IWebSocketClient
An interface for using a Messaging client and listen to events.
Enums
ConnectionState
Enum to track different client states
LogLevel
Different levels of logging. Higher level have higher numerical value and thus are more important.
ServiceDomainProvider
Enum of all supported service domain providers.
ServiceEnvironment
Enum of all supported service environments.
ServiceErrorCode
Enum of all known error codes that can be thrown by a service.
ServiceProtocol
Enum of all supported protocols to connect to a Server.
Delegates
IRetryPolicy.RetriedOperation
Delegate to define the operation that might be retried.
IRetryPolicy.RetriedOperation<T>
Delegate to define the operation that might be retried.
IRetryPolicy.ShouldRetryChecker<T>
Delegate to define whether an operation should be retried. RetryExecutionFailedException is the only valid exception that can be thrown.
IRetryPolicy.ShouldRetryExceptionChecker
Use this delegate to define which exceptions trigger a retry. It should NOT throw any exception.
IRetryPolicy.ShouldRetryResultChecker<T>
Use this delegate to define which results trigger a retry. It should NOT throw any exception.