MentorAgent Docs
Menu

Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.

ReferencePackage: Novior.MentorAgent.Abstractions

MentorLanguageExtensions class

The MentorLanguageExtensions class of Novior.MentorAgent.Abstractions.Models: Utility methods for MentorLanguage.

On this page

Utility methods for MentorLanguage.

Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.

public static class MentorLanguageExtensions

Terminal
dotnet add package Novior.MentorAgent.Abstractions

public static string ToFullName(this MentorLanguage lang)

Converts the enum to the full English name (e.g. Italian → "Italian")

public static string ToIsoCode(this MentorLanguage lang)

Converts the enum to an ISO 639-1 code (e.g. Italian → "it")