Compare commits

..

No commits in common. "b6dee57aa1be191bd486ee5c5455b55fc144f440" and "ad78611f9c7cd87f423fd112cde19c36c217921a" have entirely different histories.

4 changed files with 5 additions and 46 deletions

View file

@ -7,7 +7,7 @@
<Nullable>enable</Nullable>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<AssemblyName>CSMic.Core</AssemblyName>
<Version>2.0.0-beta-04</Version>
<Version>2.0.0-beta-03</Version>
<PackageId>CSMic</PackageId>
<LangVersion>latest</LangVersion>
</PropertyGroup>

View file

@ -81,10 +81,7 @@ namespace CSMic
{
get
{
return this.numericVariables.Select(nv => new Variable(VariableType.Numeric, nv.Key, nv.Value))
.Concat(this.expressionVariables.Select(nv => new Variable(VariableType.Expression, nv.Key, nv.Value)))
.Concat(this.numericArrayVariables.Select(nv => new Variable(VariableType.NumericArray, nv.Key, nv.Value)))
.AsEnumerable();
return null;
}
}
#endregion

View file

@ -14,35 +14,7 @@ namespace CSMic
private string name;
private object? value;
#endregion
#region Properties
public VariableType Type
{
get
{
return this.type;
}
}
public string Name
{
get
{
return this.name;
}
}
public object? Value
{
get
{
return this.value;
}
}
private object value;
#endregion
@ -51,19 +23,9 @@ namespace CSMic
public Variable()
{
this.type = VariableType.None;
this.name = string.Empty;
this.value = null;
this.value = string.Empty;
}
public Variable(VariableType type, string name, object? value)
{
this.type = type;
this.name = name;
this.value = value;
}
#endregion
}
}

View file

@ -6,7 +6,7 @@
<AssemblyName>CSMic.StandardLibrary</AssemblyName>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>2.0.0-beta-04</Version>
<Version>2.0.0-beta-03</Version>
<PackageId>CSMic.StandardLibrary</PackageId>
<LangVersion>latest</LangVersion>
</PropertyGroup>