using System;
using PropertyModels.ComponentModel;
using PropertyModels.Localilzation;
using StabilityMatrix.Avalonia.Languages;
namespace StabilityMatrix.Avalonia.Controls;
///
/// Implements using static .
///
internal class PropertyGridLocalizationService : MiniReactiveObject, ILocalizationService
{
///
public ICultureData CultureData { get; } = new PropertyGridCultureData();
///
public string this[string key] => CultureData[key];
///
public event EventHandler? OnCultureChanged;
///
public ILocalizationService[] GetExtraServices() => Array.Empty();
///
public void AddExtraService(ILocalizationService service) { }
///
public void RemoveExtraService(ILocalizationService service) { }
///
public ICultureData[] GetCultures() => new[] { CultureData };
///
public void SelectCulture(string cultureName) { }
}