Private
Public Access
Added basic Value types
This commit is contained in:
1 parent
906558e9a7
commit
91100673c8
6 files changed
+178
-1
No files matched your search
+8
-1
@@ -1,4 +1,11 @@
|
||||
namespace Advanced_Software_Engineering.Verbs.Value {
|
||||
using System;
|
||||
|
||||
namespace Advanced_Software_Engineering.Verbs.Value {
|
||||
class ValueFactory {
|
||||
|
||||
ValueFactory(string value, Type TypeHint = null) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Advanced_Software_Engineering.Verbs.Value.ValueTypes {
|
||||
class BoolValue : IValue {
|
||||
public string GetDescription() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Type GetOriginalType() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool ToBool() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Color ToColor() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public double ToDouble() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public int ToInt() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Advanced_Software_Engineering.Verbs.Value.ValueTypes {
|
||||
class BytesValue : IValue {
|
||||
public string GetDescription() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Type GetOriginalType() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool ToBool() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Color ToColor() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public double ToDouble() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public int ToInt() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Advanced_Software_Engineering.Verbs.Value.ValueTypes {
|
||||
class ColorValue : IValue {
|
||||
public string GetDescription() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Type GetOriginalType() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool ToBool() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Color ToColor() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public double ToDouble() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public int ToInt() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Advanced_Software_Engineering.Verbs.Value.ValueTypes {
|
||||
class DoubleValue : IValue {
|
||||
public string GetDescription() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Type GetOriginalType() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool ToBool() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Color ToColor() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public double ToDouble() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public int ToInt() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Advanced_Software_Engineering.Verbs.Value.ValueTypes {
|
||||
class IntValue : IValue {
|
||||
public string GetDescription() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Type GetOriginalType() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool ToBool() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Color ToColor() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public double ToDouble() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public int ToInt() {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user