一個C#工具類的網址

來源:互聯網
上載者:User

http://www.yoda.arachsys.com/csharp/index.html

先記下來,有空仔細研究一下.裡面的一些工具類很實用.如:屬性Copy器,ThreadControllerCustomThreadPoolStringWriterWithEncoding

 

The library currently contains the following items:

  • MiscUtil.StaticRandom - random number generation made simple. (Static members wrapping System.Random.) See the usage page for details.
  • MiscUtil.IBufferManager (and implementations) - buffer management, for code which frequently needs to make temporary use of byte arrays. See the usage page for details.
  • MiscUtil.Checksum - namespace for checksum algorithms. (Currently only Adler32 supported.)
  • MiscUtil.Collections.ComparisonComparer<T> - conversions between Comparison<T> and Comparer<T>
  • MiscUtil.Collections.Range<T> - generic range support (work in progress)
  • MiscUtil.Collections.SmartEnumerable<T> - enumerates over a collection, retaining information about whether or not you're on the first/last entry. See the usage page for details.
  • MiscUtil.Compression.Vcdiff - support for decoding VCDIFF (RFC 3284) binary diff files. See the usage page for details.
  • MiscUtil.Text.Utf32String - contains much of System.String, but with a UTF-32 encoding (rather than UTF-16). This means surrogate pairs are counted as a single character.
  • MiscUtil.Conversion.DoubleConverter - code to show the full true value of a double.
  • MiscUtil.Conversion.EndianBitConverter - effectively BitConverter, but either LittleEndian or BigEndian, depending on which you pick.
  • MiscUtil.IO.EndianBinary{Writer/Reader} - like System.IO.Binary{Writer.Reader}, but with configurable endianness.
  • MiscUtil.IO.StreamUtil - utility methods to make it easier to work with streams. See the usage page for details.
  • MiscUtil.IO.StringWriterWithEncoding - like System.IO.StringWriter, but with configurable encoding. (This is useful for XML output.)
  • MiscUtil.Threading.CustomThreadPool - a simple configurable thread pool, allowing you to separate your own threads from the ones in the system thread pool.
  • MiscUtil.Threading.ThreadController - a simple control system for worker threads
  • MiscUtil.Threading.{SyncLock,OrderedLock,LockToken} - an alternative locking mechanism. See the usage page for details.
Downloads (old! see above!)
  • Binary distribution - DLL, XML, licence
  • Source distribution - clean source tree, ready to build
  • Just the release DLL
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.