S
Steven Nagy
XML serialising this class:
[Serializable]
public class Table
{
public List<IAction> Actions;
public List<Column> Columns;
}
I think the interface is the problem.
Something in my head tells me that it shouldn't be possible to
serialise the IAction.
Interfaces can't be declared with attributes.
EXCEPTION: System.InvalidOperationException
There was an error reflecting type 'TestProj.Table'
Any suggestions/workarounds ?
[Serializable]
public class Table
{
public List<IAction> Actions;
public List<Column> Columns;
}
I think the interface is the problem.
Something in my head tells me that it shouldn't be possible to
serialise the IAction.
Interfaces can't be declared with attributes.
EXCEPTION: System.InvalidOperationException
There was an error reflecting type 'TestProj.Table'
Any suggestions/workarounds ?