Some small typo and access-level fixes

This commit is contained in:
DarthAffe committed 2017-04-02 11:10:43 +02:00
1 parent 89ca7d66d5
commit a2411dd2d3
8 files changed
+13 -18

No files matched your search

@@ -7,12 +7,12 @@ namespace RGB.NET.Devices.Logitech
/// <summary>
/// Offers some helper-methods for culture related things.
/// </summary>
public static class CultureHelper
internal static class CultureHelper
{
#region DLLImports
[DllImport("user32.dll")]
static extern IntPtr GetKeyboardLayout(uint thread);
private static extern IntPtr GetKeyboardLayout(uint thread);
#endregion
@@ -26,7 +26,7 @@ namespace RGB.NET.Devices.Logitech
/// Gets the current keyboard-layout from the OS.
/// </summary>
/// <returns>The current keyboard-layout</returns>
public static CultureInfo GetCurrentCulture()
internal static CultureInfo GetCurrentCulture()
{
try
{
@@ -6,14 +6,14 @@ namespace RGB.NET.Devices.Logitech
/// <summary>
/// Offers some helper-methods for file-path related things.
/// </summary>
public static class PathHelper
internal static class PathHelper
{
/// <summary>
/// Returns an absolute path created from an relative path relatvie to the location of the executung assembly.
/// </summary>
/// <param name="relativePath">The relative path to convert.</param>
/// <returns>The absolute path.</returns>
public static string GetAbsolutePath(string relativePath)
internal static string GetAbsolutePath(string relativePath)
{
string assemblyLocation = Assembly.GetEntryAssembly()?.Location;
if (assemblyLocation == null) return relativePath;