Click or drag to resize
FileResourceEditor Class
String resource manager for use with the .resx files.
Inheritance Hierarchy
SystemObject
  CMS.LocalizationFileResourceEditor

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 8.2.23
Syntax
C#
public class FileResourceEditor

The FileResourceEditor type exposes the following members.

Constructors
  NameDescription
Public methodFileResourceEditor
Constructor, creates a new instance of the FileResourceManager object.
Top
Methods
  NameDescription
Public methodDeleteResourceString
Removes default resource string.
Public methodGetResourceDataSet
Returns dataset containing default resource strings.
Public methodGetResourceString
Returns default resource string specified culture.
Protected methodLoadFiles
Loads the resource file from the specified path.
Protected methodSaveFile
Stores modified resource strings orf requested culture to file.
Public methodSetResourceString
Sets/updates default resource string.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldStatic membermCultureResourcesDS
Resources for each culture as dataset ("table of datasets").
Protected fieldStatic membermCultureResourcesHT
Resources for each culture as hashtable ("table of tables").
Top
Properties
  NameDescription
Public propertyResourceFiles
Resource files.
Top
See Also