Codeunit 1934 Perf. Prof. Activity Mapper

System Application, System.Tooling

Source AL, 38 lines

src/System Application/App/Performance Profiler/src/PerfProfActivityMapper.Codeunit.allines 7 to 22 of 38, Copyright (c) Microsoft Corporation. MIT

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;

All 38 lines

Public procedures 2 in 29

MapActivityTypeToClientType(var ClientType: Option , ,"Web Service", , ,Background, ,"Web Client", , , , ; ActivityType: Enum "Perf. Profile Activity Type")new in 25
MapClientTypeToActivityType(ClientType: Option , ,"Web Service", , ,Background, ,"Web Client", , , , ; var ActivityType: Enum "Perf. Profile Activity Type")new in 25