ForumServer.ServerController.GetReplies C# (CSharp) Метод

GetReplies() публичный Метод

public GetReplies ( Postkey key ) : ForumShared.SharedDataTypes.Post[]
key Postkey
Результат ForumShared.SharedDataTypes.Post[]
        public Post[] GetReplies(Postkey key)
        {
            try
            {
                if (key != null)
                {
                    log.Info("got request for post " + key);
                    return dataManager.GetPost(key).Replies.Values.OrderBy(post => post.Key.Time).ToArray();
                }
                else
                {
                    log.Info("got a null postkey in get replies");
                    return null;
                }
            }
            catch (Exception e)
            {
                log.Error("failed get post " + key, e);
                throw e;
            }
        }