DynamicTextService Class
Assembly: PTS.Modules.DynamicTexts.dll
Syntax
public class DynamicTextService : SingleRepositoryService<DynamicText>, IServiceProviderAccessor, IDynamicTexts
Inheritance
System.Object
DynamicTextService
Constructors
DynamicTextService(IUnitOfWork)
Declaration
public DynamicTextService(IUnitOfWork data)
Parameters
Methods
Get(Int64, LanguageCode)
Declaration
public DynamicText Get(long id, LanguageCode lang)
Parameters
Returns
GetAsync(Int64, LanguageCode)
Declaration
public Task<DynamicText> GetAsync(long id, LanguageCode lang)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<DynamicText> |
|
GetRawText(Int64, LanguageCode)
Declaration
public string GetRawText(long id, LanguageCode lang)
Parameters
Returns
Type |
Description |
System.String |
|
GetRawText(Int64, CultureInfo)
Declaration
public string GetRawText(long id, CultureInfo culture = null)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.String |
|
GetRawTextAsync(Int64, LanguageCode)
Declaration
public Task<string> GetRawTextAsync(long id, LanguageCode lang)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
GetRawTextAsync(Int64, CultureInfo)
Declaration
public Task<string> GetRawTextAsync(long id, CultureInfo culture = null)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
System.Globalization.CultureInfo |
culture |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
GetText(Int64, LanguageCode, Object[])
Declaration
public string GetText(long id, LanguageCode lang, params object[] arguments)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
LanguageCode |
lang |
|
System.Object[] |
arguments |
|
Returns
Type |
Description |
System.String |
|
GetText(Int64, CultureInfo, Object[])
Declaration
public string GetText(long id, CultureInfo culture, params object[] arguments)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
System.Globalization.CultureInfo |
culture |
|
System.Object[] |
arguments |
|
Returns
Type |
Description |
System.String |
|
GetText(Int64, Object[])
Declaration
public string GetText(long id, params object[] arguments)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
System.Object[] |
arguments |
|
Returns
Type |
Description |
System.String |
|
GetTextAsync(Int64, LanguageCode, Object[])
Declaration
public Task<string> GetTextAsync(long id, LanguageCode lang, params object[] arguments)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
LanguageCode |
lang |
|
System.Object[] |
arguments |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
GetTextAsync(Int64, CultureInfo, Object[])
Declaration
public Task<string> GetTextAsync(long id, CultureInfo culture, params object[] arguments)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
System.Globalization.CultureInfo |
culture |
|
System.Object[] |
arguments |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
GetTextAsync(Int64, Object[])
Declaration
public Task<string> GetTextAsync(long id, params object[] arguments)
Parameters
Type |
Name |
Description |
System.Int64 |
id |
|
System.Object[] |
arguments |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.String> |
|
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Extension Methods