https://github.com/simplify9/primitivetypes
Highly reusable types and base types/interfaces for patterns used by Simplify9
https://github.com/simplify9/primitivetypes
Last synced: 11 months ago
JSON representation
Highly reusable types and base types/interfaces for patterns used by Simplify9
- Host: GitHub
- URL: https://github.com/simplify9/primitivetypes
- Owner: simplify9
- License: mit
- Created: 2020-05-30T09:32:59.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-09T12:02:40.000Z (about 2 years ago)
- Last Synced: 2024-12-03T05:27:46.035Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 246 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# SW.PrimitiveTypes

| **Package** | **Version** |
| :----------------:|:----------------------:|
| ``SimplyWorks.PrimitiveTypes``||
[SW.PrimitiveTypes](https://www.nuget.org/packages/SimplyWorks.PrimitiveTypes/) is a library
containing highly reusable types and interfaces that pertain to certain patterns of programming and typical value types. It is a dependency for almost all Simplify9's packages.
## Value Objects
The *Value Objects* segment focuses on typical business logic types like
`StreetAddress`, `Weight`, `Money` or `Blob`. This is to cut down on repetitive types in the most
common business applications.
## Bus
The [`Bus`](https://github.com/simplify9/Bus) segment contains interfaces of a typical bus messaging system, like consumers and publishers. The `SimplyWorks.Bus` package looks for implementations of these interfaces to add to the bus' consumers/publishers.
## CqApi
The [`CqApi`](https://github.com/simplify9/CqApi) segment contains interfaces to define typical API handler types, (*Eg:* `IGetHandler<>`, `ICommandHandler<>`, etc.). The `SimplyWorks.CqApi` library looks for implementations of these interfaces to inject into its dynamic API.
## Searchy
The [`Searchy`](https://github.com/simplify9/Searchy) segment revolves around interfaces that describe typical Searchy handlers, to cut down on API's work when it comes understanding a query message.
## CloudFiles
The [`Cloudfiles`](https://github.com/simplify9/CloudFiles) segment has interfaces to describe services that lift blobs/streams on the cloud.
`SimplyWorks.CloudFiles` is an implementation of this interfaces.
## Conversion Methods
ConvertValueToType**: extends `object` and takes in a `Type` as a parameter and goes through the process of different methods of conversion to get the optimal result. Note that is optimized to avoid redundant or unnecessary conversions.
## Getting support 👷
If you encounter any bugs, don't hesitate to submit an [issue](https://github.com/simplify9/HttpExtensions/issues). We'll get back to you promptly!