Сделан новый проект VisualPABCLinux И пришлось склонировать PluginsSupport, поскольку он вносит зависимость по редактору Компоненты WeifenLuo для Linux надо после перекомпиляции скопировать в Libraries - подшить их к основному проекту просто не получилось
28 lines
721 B
C#
28 lines
721 B
C#
// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt)
|
|
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
|
|
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;
|
|
}
|
|
}
|
|
}
|