check point
This commit is contained in:
14
framework/Inspectron.Camera/CameraExtensions.cs
Normal file
14
framework/Inspectron.Camera/CameraExtensions.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using Inspectron.Camera.Emulation;
|
||||
using Ninject;
|
||||
|
||||
namespace Inspectron.Camera
|
||||
{
|
||||
public static class CameraExtensions
|
||||
{
|
||||
public static IKernel UseEmulationCamera(this IKernel self,string[] folders)
|
||||
{
|
||||
self.Rebind<ICameraProvider>().ToConstant(new EmulationCameraProvider(folders)).InSingletonScope();
|
||||
return self;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user