Added basic Value types

This commit is contained in:
Lukasz Baldyga committed 2020-11-15 06:12:53 +00:00
1 parent 906558e9a7
commit 91100673c8
6 files changed
+178 -1

No files matched your search

@@ -1,4 +1,11 @@
namespace Advanced_Software_Engineering.Verbs.Value { using System;
namespace Advanced_Software_Engineering.Verbs.Value {
class ValueFactory { class ValueFactory {
ValueFactory(string value, Type TypeHint = null) {
}
} }
} }
@@ -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();
}
}
}
@@ -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();
}
}
}
@@ -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();
}
}
}
@@ -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();
}
}
}
@@ -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();
}
}
}