public static DeleteShapesRequest Read(Dictionary<byte, object> par) { var res = new DeleteShapesRequest(); res.ownerId = (int) par[(byte) DiscussionParamKey.ShapeOwnerId]; res.initialOwnerId = (int) par[(byte) DiscussionParamKey.InitialShapeOwnerId]; res.topicId = (int) par[(byte) DiscussionParamKey.ChangedTopicId]; return res; }
public static DeleteShapesRequest Read(Dictionary <byte, object> par) { var res = new DeleteShapesRequest(); res.ownerId = (int)par[(byte)DiscussionParamKey.ShapeOwnerId]; res.initialOwnerId = (int)par[(byte)DiscussionParamKey.InitialShapeOwnerId]; res.topicId = (int)par[(byte)DiscussionParamKey.ChangedTopicId]; return(res); }