-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUnsupported.cs
More file actions
21 lines (16 loc) · 1.16 KB
/
Unsupported.cs
File metadata and controls
21 lines (16 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using CSharpToJavaScript.APIs.JS.Ecma;
namespace CSharpToJavaScript.Utils;
public class Unsupported
{
public dynamic Value { get; set; }
public static implicit operator Unsupported(string value) { return new Unsupported { Value = value }; }
public static implicit operator Unsupported(double value) { return new Unsupported { Value = value }; }
public static implicit operator Unsupported(float value) { return new Unsupported { Value = value }; }
public static implicit operator Unsupported(int value) { return new Unsupported { Value = value }; }
public static implicit operator Unsupported(Object value) { return new Unsupported { Value = value }; }
public static implicit operator string(Unsupported value) { return new Unsupported { Value = value }; }
public static implicit operator double(Unsupported value) { return new Unsupported { Value = value }; }
public static implicit operator float(Unsupported value) { return new Unsupported { Value = value }; }
public static implicit operator int(Unsupported value) { return new Unsupported { Value = value }; }
public static implicit operator Object(Unsupported value) { return new Unsupported { Value = value }; }
}