Class ResourceReader
Inheritance
System.Object
ResourceReader
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Experior.Core.dll
Syntax
public class ResourceReader
Constructors
ResourceReader(ResourceManager)
Declaration
public ResourceReader(ResourceManager resourceManager)
Parameters
Type |
Name |
Description |
System.Resources.ResourceManager |
resourceManager |
|
Methods
ConvertParenthesesToUnderscore(String)
Declaration
public static string ConvertParenthesesToUnderscore(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
ConvertUnderscoreToParentheses(String)
Declaration
public static string ConvertUnderscoreToParentheses(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
Type |
Description |
System.String |
|
GetResourceNames()
Declaration
public IReadOnlyCollection<string> GetResourceNames()
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<System.String> |
|
GetResourceNames(Func<String, String>)
Declaration
public IReadOnlyCollection<string> GetResourceNames(Func<string, string> nameConvertion)
Parameters
Type |
Name |
Description |
System.Func<System.String, System.String> |
nameConvertion |
|
Returns
Type |
Description |
System.Collections.Generic.IReadOnlyCollection<System.String> |
|
TryGetObject<T>(String, out T)
Declaration
public bool TryGetObject<T>(string id, out T obj)
where T : class
Parameters
Type |
Name |
Description |
System.String |
id |
|
T |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters