cosmos-stack / cosmos-standard Goto Github PK
View Code? Open in Web Editor NEWA Standard Library. Improve development efficiency by providing the most streamlined APIs.
License: Apache License 2.0
A Standard Library. Improve development efficiency by providing the most streamlined APIs.
License: Apache License 2.0
Take out "Disposable" alone to become an independent project. #44
Add Optional extensions
For the following reasons, we will start with Cosmos.Standard 0.1.5, switch the entire TargetFramework to .NET Core 3.1, and no longer consider .NET Framework, .NET Core 1.x/2.x/3.0,. NET Standard provides support:
Considering that the Loongson team is adapting Mips64 for .NET Core 3.1 (and will not know whether they will also adapt for .NET 5 in a short time), so when .NET 5 is released, Cosmos.Standard will simultaneously Supports .NET Core 3.1 and .NET 5.
According to #44, merge "Collections" extensions of Cosmos.Extensions library and "Collections" extensions of Cosmos.Extensions.Collections into the core library.
At the same time complete the corresponding unit test.
Preparation for version 0.1.5: Refactoring Standard Library
According to #44, merge "CharMatcher" of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
为 Cosmos.Extensions.Preconditions 增加验证拦截器
According to #44, merge "Splitter" of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
Add FluentException apis
Reference to:
https://github.com/toeb/fluentexceptions
According to #44, merge "Optionals" extensions of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
By adding HashCode32
, HashCode64
, HashCode128
, HashCode256
, HashCode512
and HashCode1024
, the processing capability of HashCode is enhanced.
AsHexString()
and AsHexString(bool uppercase)
methodsAsBinString()
and AsBinString(bool completeZero)
methodsParse
, TryParse
, ParseLoosely
and TryParseLoosely
methodsByte[]
and BitArray
.Add Promise extensions by C-Sharp-Promise
According to #44, merge "Try" of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
According to #44, merge "RegexUtils" of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
重构 Cosmos.Serialization 体系
Integrate the default mapping mechanism in the Conversions library.
According to #44, merge "IdUtils" of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
According to #44, merge "Joiner" of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
The Hex utility can easily switch the hexadecimal value between string
and byte[]
.
Usage:
Kanban: https://trello.com/c/RaKQFBg1
Document:Chinese Version | English Version
Try.Create<>()
overload.Try.Invoke<>(Action<>)
overload.TryAction
wrapper.TryInvoke
extension methods for Action and TryFuncInvoke
extension methods for FuncTryInvokingException
According to #44, merge "Conversions" of Cosmos.Extensions library into the core library.
At the same time complete the corresponding unit test.
To optimize and streamline Cosmos.Standard's core library design, it was decided to merge Cosmos.Core and Cosmos.Extensions.
This adjustment helps to clarify the logical relationship between auxiliary methods and extension methods, and adjust the accessibility of some methods to achieve "as reasonable a design as possible".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.