pascalabcnet/VisualPascalABCNET/DS/ObjectLocalisator.cs
Бондарев Иван e6e67c193c initial commit
2015-05-14 21:35:07 +02:00

26 lines
533 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace VisualPascalABC
{
class ObjectLocalisator
{
private object vaule;
private string str;
public ObjectLocalisator(object val, string str)
{
vaule = val;
this.str = PascalABCCompiler.StringResources.Get(str);
}
public object Value
{
get { return vaule; }
}
public override string ToString()
{
return str;
}
}
}