mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Display conditions - Implemented expression tree creation
Display conditions - Use the most appropriate number input UI general - Use current localisation for decimal seperators and enfore in inputs
This commit is contained in:
1 parent
92dfbb354a
commit
4d616beffb
21 files changed
+282
-131
No files matched your search
@@ -28,7 +28,7 @@ namespace Artemis.Core
|
||||
public static readonly PluginInfo CorePluginInfo = new PluginInfo {Guid = Guid.Parse("ffffffff-ffff-ffff-ffff-ffffffffffff"), Name = "Artemis Core"};
|
||||
|
||||
/// <summary>
|
||||
/// A read-only collection containing all primitive number types
|
||||
/// A read-only collection containing all primitive numeric types
|
||||
/// </summary>
|
||||
public static IReadOnlyCollection<Type> NumberTypes = new List<Type>
|
||||
{
|
||||
@@ -44,5 +44,30 @@ namespace Artemis.Core
|
||||
typeof(double),
|
||||
typeof(decimal)
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// A read-only collection containing all primitive integral numeric types
|
||||
/// </summary>
|
||||
public static IReadOnlyCollection<Type> IntegralNumberTypes = new List<Type>
|
||||
{
|
||||
typeof(sbyte),
|
||||
typeof(byte),
|
||||
typeof(short),
|
||||
typeof(ushort),
|
||||
typeof(int),
|
||||
typeof(uint),
|
||||
typeof(long),
|
||||
typeof(ulong)
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// A read-only collection containing all primitive floating-point numeric types
|
||||
/// </summary>
|
||||
public static IReadOnlyCollection<Type> FloatNumberTypes = new List<Type>
|
||||
{
|
||||
typeof(float),
|
||||
typeof(double),
|
||||
typeof(decimal)
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user