Skip to content

Instantly share code, notes, and snippets.

@andlju
Created November 29, 2011 17:19
Show Gist options
  • Save andlju/1405587 to your computer and use it in GitHub Desktop.
Save andlju/1405587 to your computer and use it in GitHub Desktop.
NServiceBus won't serialize this properly
public class MyMessage : IMessage
{
public string OneValue { get; set; }
public PropertyBase[] Properties { get; set; }
}
public class PropertyBase
{
}
public class FirstProperty : PropertyBase
{
public string AnotherValue { get; set; }
}
public class SecondProperty : PropertyBase
{
public string YetAnotherValue { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment