diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-16 02:43:41 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-08-16 02:43:41 -0400 |
| commit | bfcd1b520fd79b893e721ba916ae5e1656407d2f (patch) | |
| tree | 6a05119800484435fb384da25c6390054a27c3c3 /Emby.Common.Implementations/TextEncoding/NLangDetect/Language.cs | |
| parent | e3531534b85aeaaa3e4aaf462d5e77ea142dc762 (diff) | |
merge common implementations and server implementations
Diffstat (limited to 'Emby.Common.Implementations/TextEncoding/NLangDetect/Language.cs')
| -rw-r--r-- | Emby.Common.Implementations/TextEncoding/NLangDetect/Language.cs | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Emby.Common.Implementations/TextEncoding/NLangDetect/Language.cs b/Emby.Common.Implementations/TextEncoding/NLangDetect/Language.cs deleted file mode 100644 index f4b4b153e..000000000 --- a/Emby.Common.Implementations/TextEncoding/NLangDetect/Language.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System.Globalization; - -namespace NLangDetect.Core -{ - // TODO IMM HI: name?? - public class Language - { - #region Constructor(s) - - public Language(string name, double probability) - { - Name = name; - Probability = probability; - } - - #endregion - - #region Object overrides - - public override string ToString() - { - if (Name == null) - { - return ""; - } - - return - string.Format( - CultureInfo.InvariantCulture.NumberFormat, - "{0}:{1:0.000000}", - Name, - Probability); - } - - #endregion - - #region Properties - - public string Name { get; set; } - - public double Probability { get; set; } - - #endregion - } -} |
