From cb752850ffe2566cf85ecaf91be154fe6fccaa51 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Tue, 13 Oct 2020 13:30:29 -0600 Subject: [PATCH] correct interfaces --- .../DeviceTypeInterfaces/ILanguageDefinition.cs | 10 +++++++--- .../DeviceTypeInterfaces/ILanguageProvider.cs | 15 +++++++-------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageDefinition.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageDefinition.cs index 8c81d6bb..659b396a 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageDefinition.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageDefinition.cs @@ -1,11 +1,15 @@ using System; +using System.Collections.Generic; namespace PepperDash_Essentials_Core.DeviceTypeInterfaces { public interface ILanguageDefinition { - ILanguageDefinition CurrentLanguage { get; set; } - - event EventHandler CurrentLanguageChanged; + string LocaleName { get; set; } + string FriendlyName { get; set; } + bool Enable { get; set; } + List UiLabels { get; set; } + List Sources { get; set; } + List Destinations { get; set; } } } \ No newline at end of file diff --git a/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageProvider.cs b/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageProvider.cs index 34047535..2ae483f6 100644 --- a/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageProvider.cs +++ b/essentials-framework/Essentials Core/PepperDashEssentialsBase/DeviceTypeInterfaces/ILanguageProvider.cs @@ -1,14 +1,13 @@ -using System.Collections.Generic; +using System; +using System.Collections.Generic; namespace PepperDash_Essentials_Core.DeviceTypeInterfaces { - public interface ILanguageProvider + public interface ILanguageProvider { - string LocaleName { get; set; } - string FriendlyName { get; set; } - bool Enable { get; set; } - List UiLabels { get; set; } - List Sources { get; set; } - List Destinations { get; set; } + ILanguageDefinition CurrentLanguage { get; set; } + + event EventHandler CurrentLanguageChanged; } + } \ No newline at end of file