C# 클래스 LearnLanguages.Business.BusinessHelper

파일 보기 프로젝트 열기: ibgib/LearnLanguages

공개 메소드들

메소드 설명
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