コード例 #1
0
 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;
 }
コード例 #2
0
        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);
        }