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> <Nullable>enable</Nullable>
<GeneratePackageOnBuild>False</GeneratePackageOnBuild> <GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<AssemblyName>CSMic.Core</AssemblyName> <AssemblyName>CSMic.Core</AssemblyName>
<Version>2.0.0-beta-04</Version> <Version>2.0.0-beta-03</Version>
<PackageId>CSMic</PackageId> <PackageId>CSMic</PackageId>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
</PropertyGroup> </PropertyGroup>

View file

@ -81,10 +81,7 @@ namespace CSMic
{ {
get get
{ {
return this.numericVariables.Select(nv => new Variable(VariableType.Numeric, nv.Key, nv.Value)) return null;
.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();
} }
} }
#endregion #endregion

View file

@ -14,35 +14,7 @@ namespace CSMic
private string name; private string name;
private object? value; 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;
}
}
#endregion #endregion
@ -51,19 +23,9 @@ namespace CSMic
public Variable() public Variable()
{ {
this.type = VariableType.None; this.type = VariableType.None;
this.name = string.Empty; this.value = string.Empty;
this.value = null;
} }
public Variable(VariableType type, string name, object? value)
{
this.type = type;
this.name = name;
this.value = value;
}
#endregion #endregion
} }
} }

View file

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