Имеем некий объект типа XLReport создающийся методом marshaled обекта:
public class XLReportRemote : MarshalByRefObject
{
public XLReportRemote() : base()
{
}
public XLReport CreateXLReport()
{
return new XLReport();
}
public override object InitializeLifetimeService()
{
return null;
}
}
[ToolboxBitmap(typeof(XLReport), "XLReport1.ico"), Serializable]
public class XLReport : System.ComponentModel.Component
{
public string Template;
public ArrayList Datadources;
...
}
Так вот, изменение свойсва Template проходит, а при каждой итерации добавления в Datasources там как не было, так и нет ни одного объекта, в чем проблема?