* Start of tracing prototype * Created initial implementation of azure-core-opentelemetry package * New version of enabling MSVCRT Lib for static configs * Attempt to add OpenTelemetry tests to build * Take a dependency on OpenTelemetry version 1.3 * Added service API level tracing support * API Review feedback
26 lines
528 B
C++
26 lines
528 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#include "azure/template/template_client.hpp"
|
|
|
|
#include "private/package_version.hpp"
|
|
|
|
#include <string>
|
|
|
|
using namespace Azure::Template;
|
|
using namespace Azure::Template::_detail;
|
|
|
|
std::string TemplateClient::ClientVersion() const { return PackageVersion::ToString(); }
|
|
|
|
TemplateClient::TemplateClient(TemplateClientOptions) {}
|
|
|
|
int TemplateClient::GetValue(int key) const
|
|
{
|
|
if (key < 0)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
return key + 1;
|
|
}
|