-
Notifications
You must be signed in to change notification settings - Fork 49
Expand file tree
/
Copy pathCommonStrings.Designer.cs
More file actions
91 lines (82 loc) · 2.33 KB
/
CommonStrings.Designer.cs
File metadata and controls
91 lines (82 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace JavaScriptEngineSwitcher.Sample.Resources
{
using System;
using System.Globalization;
using System.Reflection;
using System.Resources;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
public class CommonStrings
{
private static Lazy<ResourceManager> _resourceManager =
new Lazy<ResourceManager>(() => new ResourceManager(
"JavaScriptEngineSwitcher.Sample.Resources.CommonStrings",
#if NET20 || NET30 || NET35 || NET40
typeof(CommonStrings).Assembly
#else
typeof(CommonStrings).GetTypeInfo().Assembly
#endif
));
private static CultureInfo _resourceCulture;
/// <summary>
/// Returns a cached ResourceManager instance used by this class
/// </summary>
public static ResourceManager ResourceManager
{
get
{
return _resourceManager.Value;
}
}
/// <summary>
/// Overrides a current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class
/// </summary>
public static CultureInfo Culture
{
get
{
return _resourceCulture;
}
set
{
_resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to "File '{0}' not exist."
/// </summary>
public static string ErrorMessage_FileNotFound
{
get { return GetString("ErrorMessage_FileNotFound"); }
}
/// <summary>
/// Looks up a localized string similar to "File path not specified."
/// </summary>
public static string ErrorMessage_FilePathNotSpecified
{
get { return GetString("ErrorMessage_FilePathNotSpecified"); }
}
/// <summary>
/// Looks up a localized string similar to "During reading of the file '{0}' an unknown error has occurred."
/// </summary>
public static string ErrorMessage_FileReadingFailed
{
get { return GetString("ErrorMessage_FileReadingFailed"); }
}
private static string GetString(string name)
{
string value = ResourceManager.GetString(name, _resourceCulture);
return value;
}
}
}