Esempio n. 1
0
            public static void Post(PostInterceptor interceptor)
            {
                Type type = interceptor.GetType();

                if (Posts.ContainsKey(type))
                {
                    return;
                }
                Posts.Add(type, interceptor);
            }
Esempio n. 2
0
        // 検索結果の追加
        public void AddPostToInnerStorage(PostClass post)
        {
            if (Posts.ContainsKey(post.StatusId))
            {
                return;
            }

            Posts.Add(post.StatusId, post);
            _tmpIds.Add(new TemporaryId(post.StatusId, post.IsRead));
        }