C# Class Nfield.Infrastructure.NfieldSdkInitializer

Used to register the types into the user-defined IoC container.
Show file Open project: NIPOSoftware/Nfield-SDK Class Usage Examples

Public Methods

Method Description
Initialize ( Type>.Action registerTransient, Type>.Action registerSingleton, Object>.Action registerInstance ) : void

Method that registers all known types by calling the delegates provided. This method must be called before using the SDK.

Method Details

Initialize() public static method

Method that registers all known types by calling the delegates provided. This method must be called before using the SDK.
public static Initialize ( Type>.Action registerTransient, Type>.Action registerSingleton, Object>.Action registerInstance ) : void
registerTransient Type>.Action Method that registers a Transient type.
registerSingleton Type>.Action Method that registers a Singleton.
registerInstance Object>.Action Method that registers an instance.
return void