Object initialization in IronPython
Found. IronPython can use c# classes, using import and change initializer invocation 
value= new SomeObject { Name = name } 
to 
value = SomeObject(Name = name)
Well, need to translate c# code into IronPython. The current problem is to find the best way to traslate initialization like this for example:
case SomeObject.FieldCase: new SomeObject { Width = 600, Height = 400 }.Export(model_, stream); break;
Do you have any ideas to make it similar? I'm interesting only in object initialization code, case statement was translated. For translation we use Roslyn, so we can get all syntax nodes. In other cases I make smth like that:
model = new Model; 
 model.SomeField = field;
 model.SomeField2 = field2;
But this way is not so easy to develop.