initial working maui migration with android only

This commit is contained in:
2025-01-26 17:45:09 -06:00
parent e851c815fc
commit e0c300e60d
189 changed files with 57617 additions and 45110 deletions
@@ -0,0 +1,64 @@
namespace SharpOSC
{
public class Symbol
{
public string Value;
public Symbol()
{
Value = "";
}
public Symbol(string value)
{
this.Value = value;
}
override
public string ToString()
{
return Value;
}
public override bool Equals(System.Object obj)
{
if (obj.GetType() == typeof(Symbol))
{
if (this.Value == ((Symbol)obj).Value)
return true;
else
return false;
}
else if (obj.GetType() == typeof(string))
{
if (this.Value == ((string)obj))
return true;
else
return false;
}
else
return false;
}
public static bool operator ==(Symbol a, Symbol b)
{
if (a.Equals(b))
return true;
else
return false;
}
public static bool operator !=(Symbol a, Symbol b)
{
if (!a.Equals(b))
return true;
else
return false;
}
public override int GetHashCode()
{
return Value.GetHashCode();
}
}
}