コード例 #1
0
        /// <summary>
        /// ThreadHeaderクラスのインスタンスを初期化
        /// </summary>
        public ThreadHeader()
        {
            //
            // TODO: コンストラクタ ロジックをここに追加してください。
            //
            board        = new BoardInfo();
            subject      = String.Empty;
            key          = String.Empty;
            lastModified = new DateTime(0);
            lastWritten  = new DateTime(0);
            no           = 0;
            resCount     = 0;
            gotResCount  = 0;
            gotByteCount = 0;
            newResCount  = 0;
            position     = 0;
            shiori       = 0;
            refcount     = 0;
            useGzip      = false;
            pastlog      = false;
            newthread    = false;
            etag         = null;
            tag          = null;
            sirusi       = new SortedValueCollection <int>();

            hashcode = -1;
        }
コード例 #2
0
 /// <summary>
 /// ThreadControlクラスのインスタンスを初期化
 /// </summary>
 /// <param name="cache"></param>
 protected ThreadControl(Cache cache)
     : base(cache)
 {
     //
     // TODO: コンストラクタ ロジックをここに追加してください。
     //
     resCollection      = new ResSetCollection();
     indicesValues      = new SortedValueCollection <int>();
     bbsType            = BbsType.None;
     bufferSize         = 4096;
     useGzip            = false;
     isPackageReception = false;
 }
コード例 #3
0
 public void Copy(SortedValueCollection <T> dest)
 {
     dest.Clear();
     dest.AddRange(values.ToArray());
 }