C# Class Localization.SqlLocalizer.DbStringLocalizer.SqlStringLocalizerFactory

Inheritance: IStringLocalizerFactory, IStringExtendedLocalizerFactory
Show file Open project: damienbod/AspNet5Localization

Public Methods

Method Description
AddNewLocalizationData ( List data, string information ) : void
Create ( Type resourceSource ) : IStringLocalizer
Create ( string baseName, string location ) : IStringLocalizer
GetExportHistory ( ) : IList
GetImportHistory ( ) : IList
GetLocalizationData ( System.DateTime from, string culture = null, string reason = "export" ) : IList
GetLocalizationData ( string reason = "export" ) : IList
ResetCache ( ) : void
ResetCache ( Type resourceSource ) : void
SqlStringLocalizerFactory ( LocalizationModelContext context, IOptions localizationOptions ) : System
UpdatetLocalizationData ( List data, string information ) : void

Private Methods

Method Description
GetAllFromDatabaseForResource ( string resourceKey ) : string>.Dictionary

Method Details

AddNewLocalizationData() public method

public AddNewLocalizationData ( List data, string information ) : void
data List
information string
return void

Create() public method

public Create ( Type resourceSource ) : IStringLocalizer
resourceSource System.Type
return IStringLocalizer

Create() public method

public Create ( string baseName, string location ) : IStringLocalizer
baseName string
location string
return IStringLocalizer

GetExportHistory() public method

public GetExportHistory ( ) : IList
return IList

GetImportHistory() public method

public GetImportHistory ( ) : IList
return IList

GetLocalizationData() public method

public GetLocalizationData ( System.DateTime from, string culture = null, string reason = "export" ) : IList
from System.DateTime
culture string
reason string
return IList

GetLocalizationData() public method

public GetLocalizationData ( string reason = "export" ) : IList
reason string
return IList

ResetCache() public method

public ResetCache ( ) : void
return void

ResetCache() public method

public ResetCache ( Type resourceSource ) : void
resourceSource System.Type
return void

SqlStringLocalizerFactory() public method

public SqlStringLocalizerFactory ( LocalizationModelContext context, IOptions localizationOptions ) : System
context LocalizationModelContext
localizationOptions IOptions
return System

UpdatetLocalizationData() public method

public UpdatetLocalizationData ( List data, string information ) : void
data List
information string
return void