C# Класс LearnLanguages.Business.BusinessHelper

Показать файл Открыть проект

Открытые методы

Метод Описание
EncodeTitlesAndIdsAsString ( ICollection collection ) : string

This takes a collection of MLT Dtos and puts their titles and ids into a delimited string value to be stored in a single string. I'm doing this because the

ExtractPhrase ( TranslationEdit translation, string languageText ) : PhraseEdit

Extracts the phrase (if found) in the given language.

GetCurrentUserId ( ) : System.Guid
GetCurrentUsername ( ) : string

Описание методов

EncodeTitlesAndIdsAsString() публичный статический Метод

This takes a collection of MLT Dtos and puts their titles and ids into a delimited string value to be stored in a single string. I'm doing this because the
public static EncodeTitlesAndIdsAsString ( ICollection collection ) : string
collection ICollection
Результат string

ExtractPhrase() публичный статический Метод

Extracts the phrase (if found) in the given language.
public static ExtractPhrase ( TranslationEdit translation, string languageText ) : PhraseEdit
translation TranslationEdit
languageText string
Результат PhraseEdit

GetCurrentUserId() публичный статический Метод

public static GetCurrentUserId ( ) : System.Guid
Результат System.Guid

GetCurrentUsername() публичный статический Метод

public static GetCurrentUsername ( ) : string
Результат string