/// <summary> /// Internal constructor. /// </summary> /// <param name="client"></param> /// <param name="response"></param> internal StartRenderingSessionOperation(RemoteRenderingClient client, Response <RenderingSession> response) { _client = client; _response = response; }
/// <summary> /// Internal constructor. /// </summary> /// <param name="client"></param> /// <param name="response"></param> internal AssetConversionOperation(RemoteRenderingClient client, Response <AssetConversion> response) { _client = client; _response = response; }
/// <summary> /// Construct a StartSessionOperation from a session which already exists. /// </summary> /// <param name="sessionId"></param> /// <param name="client"></param> public StartRenderingSessionOperation(string sessionId, RemoteRenderingClient client) { _client = client; _response = client.GetSessionInternal(sessionId, $"{nameof(StartRenderingSessionOperation)}.{nameof(StartRenderingSessionOperation)}"); }
/// <summary> /// Construct an operation from a conversion which already exists. /// </summary> /// <param name="conversionId"></param> /// <param name="client"></param> public AssetConversionOperation(string conversionId, RemoteRenderingClient client) { _client = client; _response = client.GetConversionInternal(conversionId, $"{nameof(AssetConversionOperation)}.{nameof(AssetConversionOperation)}"); }