Questa pagina non è ancora tradotta in italiano: qui la trovi in inglese.
MentorLanguageExtensions class
The MentorLanguageExtensions class of Novior.MentorAgent.Abstractions.Models: Utility methods for MentorLanguage.
On this page
Utility methods for MentorLanguage.
Definition
Section titled “Definition”Namespace: Novior.MentorAgent.Abstractions.Models. Package: Novior.MentorAgent.Abstractions.
public static class MentorLanguageExtensions
dotnet add package Novior.MentorAgent.AbstractionsMethods
Section titled “Methods”ToFullName
Section titled “ToFullName”public static string ToFullName(this MentorLanguage lang)
Converts the enum to the full English name (e.g. Italian → "Italian")
ToIsoCode
Section titled “ToIsoCode”public static string ToIsoCode(this MentorLanguage lang)
Converts the enum to an ISO 639-1 code (e.g. Italian → "it")
