Codeunit 1934 Perf. Prof. Activity Mapper in 25
- App
- System Application
- Namespace
- System.Tooling
Versions171819202122232425262728latest
Source in 25
src/System Application/App/Performance Profiler/src/PerfProfActivityMapper.Codeunit.al36 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.Tooling;
codeunit 1934 "Perf. Prof. Activity Mapper"
{
Access = Internal;
InherentEntitlements = X;
InherentPermissions = X;
procedure MapActivityTypeToClientType(var ClientType: Option ,,"Web Service",,,Background,,"Web Client",,,,; ActivityType: Enum "Perf. Profile Activity Type")
begin
case ActivityType of
ActivityType::"Web Client":
ClientType := ClientType::"Web Client";
ActivityType::Background:
ClientType := ClientType::Background;
ActivityType::"Web API Client":
ClientType := ClientType::"Web Service";
end;
end;
procedure MapClientTypeToActivityType(ClientType: Option ,,"Web Service",,,Background,,"Web Client",,,,; var ActivityType: Enum "Perf. Profile Activity Type")
begin
case ClientType of
ClientType::Background:
ActivityType := ActivityType::Background;
ClientType::"Web Client":
ActivityType := ActivityType::"Web Client";
ClientType::"Web Service":
ActivityType := ActivityType::"Web API Client";
end;
end;
}Procedures, 2
| Name | Parameters | Returns | Access | Obsolete |
|---|---|---|---|---|
| MapActivityTypeToClientType | (var Option, Enum Perf. Profile Activity Type) | public | - | |
| MapClientTypeToActivityType | (Option, var Enum Perf. Profile Activity Type) | public | - |