Wiki
Clone wikiHaveBox / Documentation
Home - News - Documentation
Documentation
License
HaveBox is licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Versions
HaveBox is versioned after following convention:
Major.Minor.Build
A change in:
- Major: Covers breaking changes, unbreaking changes, bugfixes and optimizations
- Minor: Unbreaking changes, bugfixes and optimizations
- Build: Bugfixes and optimizations
Getting HaveBox
HaveBox can be downloaded from Nuget:
https://www.nuget.org/packages/HaveBox/
Or
https://bitbucket.org/Have/havebox/downloads
Using HaveBox
Conventions
- If there there is more than one implementation for an interface, Then dependency parameter names, must be equal to the wanted Implementation. See Named injections setups for more information
Scanners
- SimpleScanner: Scans an assembly, finds all types and their interfaces, and configures HaveBox.
Examples
Instantiation interception setups
Examples
HaveBox Measurement : Use case
Updated