Home

Awesome

IfInjector v0.8.1

This project is a fork of the https://ffastinjector.codeplex.com/ library by David Walker (https://plus.google.com/109602553530284384616/).

The goal of the project is to provide a featureful high performance micro-IoC container suitable for use in mobile environments. The key distinguishing feature in relation to other Micro containers is support for annotation based configuration.

Key Features

Documentations

https://github.com/iamahern/IfInjector/wiki

Example Usage and Quickstart

Obtaining The Injector

Either clone this repository or grab the binaries from nuget (https://www.nuget.org/packages/IfInjector).

Example Usage

// =================================
// Setup
// =================================
using IfInjector;

[ImplementedBy(typeof(MyType))]
interface IMyType { }

[Singleton]
class MyType : IMyType {}


// =================================
// Usage
// =================================
var injector = new Injector();

IMyType obj = injector.Resolve<IMyType>();

LICENSE

This source is under the BSD license (http://ffastinjector.codeplex.com/license).