Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kellabyte/2714761 to your computer and use it in GitHub Desktop.
Save kellabyte/2714761 to your computer and use it in GitHub Desktop.
[DataContract]
[TaskValue("http://mynamespace.com")]
public class OrderTask
{
public OrderTask(int taskPriority)
{
this.TaskPriority = taskPriority;
}
[DataMember]
public int TaskPriority { get; set; }
}
[DataContract]
[TaskValue("http://mynamespace.com")]
public class ShipmentTask
{
public ShipmentTask(string address)
{
this.Address = address;
}
[DataMember]
public string Address { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment