public override object Deserialize(IDictionary <string, object> dictionary, Type type, JavaScriptSerializer serializer) { if (dictionary != null) { var issueChild = new IssueChild(); issueChild.Id = dictionary.GetValue <int>("id"); issueChild.Tracker = dictionary.GetValueAsIdentifiableName("tracker"); issueChild.Subject = dictionary.GetValue <string>("subject"); return(issueChild); } return(null); }
public override object Deserialize(IDictionary <string, object> dictionary, Type type, JavaScriptSerializer serializer) { if (dictionary != null) { var issueChild = new IssueChild { Id = dictionary.GetValue <int>(RedmineKeys.ID), Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER), Subject = dictionary.GetValue <string>(RedmineKeys.SUBJECT) }; return(issueChild); } return(null); }
public override object Deserialize(IDictionary<string, object> dictionary, Type type, JavaScriptSerializer serializer) { if (dictionary != null) { var issueChild = new IssueChild { Id = dictionary.GetValue<int>("id"), Tracker = dictionary.GetValueAsIdentifiableName("tracker"), Subject = dictionary.GetValue<string>("subject") }; return issueChild; } return null; }
public override object Deserialize(IDictionary<string, object> dictionary, Type type, JavaScriptSerializer serializer) { if (dictionary != null) { var issueChild = new IssueChild { Id = dictionary.GetValue<int>(RedmineKeys.ID), Tracker = dictionary.GetValueAsIdentifiableName(RedmineKeys.TRACKER), Subject = dictionary.GetValue<string>(RedmineKeys.SUBJECT) }; return issueChild; } return null; }