How to set a Nullable property of a class to null through Windsor configuration file?
Let's say I have a class like this:
public class MyComponent
{
public int? MyProperty { get; set; }
}
and a configuration file similar to this:
<component id="MyComponent" ...>
<parameters>
<MyProperty>!!! what do I put here? !!!</MyProperty>
</parameters>
</component>
What do I put in the inner text above to set property to null? (yes I know in this example it will actually be null by default, but imagine that it is set in constructor to something else)
Empty text does not work - I've checked.