summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Resources/IResourceGroveler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/mscorlib/src/System/Resources/IResourceGroveler.cs')
-rw-r--r--src/mscorlib/src/System/Resources/IResourceGroveler.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Resources/IResourceGroveler.cs b/src/mscorlib/src/System/Resources/IResourceGroveler.cs
new file mode 100644
index 0000000000..461ac8259a
--- /dev/null
+++ b/src/mscorlib/src/System/Resources/IResourceGroveler.cs
@@ -0,0 +1,31 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+/*============================================================
+**
+**
+**
+**
+**
+** Purpose: Interface for resource grovelers
+**
+**
+===========================================================*/
+namespace System.Resources {
+ using System;
+ using System.Globalization;
+ using System.Threading;
+ using System.Collections.Generic;
+ using System.Runtime.Versioning;
+
+ internal interface IResourceGroveler
+ {
+ ResourceSet GrovelForResourceSet(CultureInfo culture, Dictionary<String, ResourceSet> localResourceSets, bool tryParents,
+ bool createIfNotExists, ref StackCrawlMark stackMark);
+
+#if !FEATURE_CORECLR // PAL doesn't support eventing, and we don't compile event providers for coreclr
+
+ bool HasNeutralResources(CultureInfo culture, String defaultResName);
+#endif
+ }
+}